Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2020-06-25 15:30:45 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-06-25 15:33:56 +0300
commitbaa0da3e69a1225cd18c075be5563c7d811b5347 (patch)
tree7415ab41b349faa6534ebfa8cb72435ca9273438 /source/blender/blenkernel/intern/studiolight.c
parent890336849071dd716bc254edbbfa474ed9e61432 (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/blenkernel/intern/studiolight.c')
0 files changed, 0 insertions, 0 deletions