Blender Git Commit Log

Git Commits -> Revision baa0da3

Revision baa0da3 by Sybren A. Stüvel (master)
June 25, 2020, 12:33 (GMT)
Fix T78071: Drivers reading object visibility not updating automatically

An object can be targeted by a driver that reads its `hide_viewport` or
`hide_render` property. The existence of such a driver will create a
relation between the 'sync base flags' depsgrpah node, and the datablock
containing the driver. When the object is hidden, however, it has no
base, and thus it had no 'sync base flags' depsgraph node. To support
such a driver, that depsgraph node is now always added, but for hidden
objects it will just be a no-op. If the node is not used by anything, it
will be automatically disconnected and have a negligible effect on
performance.

Commit Details:

Full Hash: baa0da3e69a1225cd18c075be5563c7d811b5347
Parent Commit: 8903368
Lines Changed: +16, -3

2 Modified Paths:

/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+7, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+9, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021