Blender Git Loki
Git Commits -> Revision 4017b48
Revision 4017b48 by Sergey Sharybin (master) June 8, 2018, 09:57 (GMT) |
Depsgraph: Don't optimize out collections used by duplication system This makes evaluated objects to point to a non-evaluated collection, which is already really bad. What is even more worse, objects in those collections are not evaluated either. Proper solution would be to implement visibility flag for nodes, which will be set to 0 for transform/geometry components, but which will be 1 for copy-on-write components. This way we will guarantee consistency of dependency graph. For now this change is good enough and unlocks production. Fixes T55375: Crash when changing visibility of instanced collection Fixes T55357: Particle geometry crash |
Commit Details:
Full Hash: 4017b4833152655dbb161896ab1bf47469a61d69
Parent Commit: 378e42e
Lines Changed: +51, -28
7 Modified Paths:
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+17, -13) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+16, -10) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+3, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_types.h (+11, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+16, -10) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+3, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_types.h (+11, -1) (Diff)