Blender Git Commit Log
Git Commits -> Revision c769418
Revision c769418 by Sybren A. Stüvel (master) June 26, 2020, 10:34 (GMT) |
Fix T78071: Drivers reading object visibility not updating automatically A driver reading `Object.hide_viewport` would break when that object was hidden. Hidden objects don't have the `OBJECT_BASE_FLAGS` node in the depsgraph, but that node was required for the driver to work. Now the `OBJECT_FROM_LAYER` component (which optionally contains the `OBJECT_FROM_LAYER` node) has explicit `ENTRY` and `EXIT` nodes, which are used for relations with other components. These relations now remain valid, even when the `OBJECT_FROM_LAYER` node is absent. Differential Revision: https://developer.blender.org/D8124 Reviewed By: sergey |
Commit Details:
Full Hash: c7694185c92aa44c90fa43e58e88742e085183d9
Parent Commit: 2a72421
Lines Changed: +53, -18
7 Modified Paths:
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+16, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+3, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+26, -15) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.cc (+4, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.h (+2, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+3, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+26, -15) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.cc (+4, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.h (+2, -0) (Diff)