forked from blender/blender
Sergey Sharybin
954c262a96
The rendering pipeline will re-use dependency graph and request for re-building its relations for every new view layer, and try to re-use as much evaluation as possible. This could potentially run into situation when a content of collection is changed: due to the difference in the per-view layer visibility. If the evaluated collection has an object cache this will make the cache to get out-of-sync with the actual content. The cache on the evaluated collection might be created when instancing system iterates over the collection. This change makes it so the cache is freed when the dependency graph relations are updated. This might be a bit too intrusive. There might be ways to somehow ensure the content of the collection is still the same as it was before the relations update, but this is much more complicated task. Perhaps the performance is already good enough. This is a collaboration with Jacques Lucke, who was looking into the same report, bouncing some ideas back and forth, and helped testing the patch. Pull Request: blender/blender#108816 |
||
---|---|---|
.. | ||
intern | ||
CMakeLists.txt | ||
DEG_depsgraph_build.h | ||
DEG_depsgraph_debug.h | ||
DEG_depsgraph_physics.h | ||
DEG_depsgraph_query.h | ||
DEG_depsgraph.h |