Page MenuHome

Volumes: Fix calling BKE_volume_load from multiple threads.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Jan 19 2021, 5:48 PM.

Details

Summary

BKE_volume_is_loaded uses grids.filepath to determine if the grids are already loaded. The issue was that grids.filepath was set, before the grids were loaded, resulting in incorrect early returns for other threads.

Noticed that while working on D10147.

Diff Detail

Repository
rB Blender

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Jan 19 2021, 5:48 PM
Jacques Lucke (JacquesLucke) created this revision.
This revision is now accepted and ready to land.Jan 19 2021, 5:53 PM

That was fast, didn't even add you as a reviewer yet :D