diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-06-25 15:30:45 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-06-25 15:33:56 +0300 |
commit | baa0da3e69a1225cd18c075be5563c7d811b5347 (patch) | |
tree | 7415ab41b349faa6534ebfa8cb72435ca9273438 /source/blender/blenlib/BLI_set.hh | |
parent | 890336849071dd716bc254edbbfa474ed9e61432 (diff) |
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.
Diffstat (limited to 'source/blender/blenlib/BLI_set.hh')
0 files changed, 0 insertions, 0 deletions