Blender Git Commit Log

Git Commits -> Revision 15698f9

Revision 15698f9 by Sergey Sharybin (master)
April 12, 2018, 09:05 (GMT)
Depsgraph: Avoid relations build time scene datablock expansion

Quite straightforward implementation, allows us to remove all the cherry-picking
update of specified scene/view layer/collection fields. Makes it possible to use
generic function to update scene.

The tricky part is that we need to know view layer pointer before the whole
evaluation starts. So we actually expand scene at initialization of evaluation.
context. This is still a bit of an exceptional case, but at least we still avoid
dangerous cherry-picking update.

Commit Details:

Full Hash: 15698f99070f4d196dbfbac63d3634019c4d1ca9
Parent Commit: 18c7575
Lines Changed: +39, -288

5 Modified Paths:

/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+0, -11) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+0, -10) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+5, -31) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cc (+28, -3) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+6, -233) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021