diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-01-28 15:36:23 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-01-29 17:52:53 +0300 |
commit | 0e37d3efc017151309b272e4562edd901bfbde7a (patch) | |
tree | 868a547025ef98ba33eb4e64280d514b325ad44e /source/blender/depsgraph/intern/builder/deg_builder_nodes.h | |
parent | 087777f2b9b8c7cfc75458c6e6e714e92e2e2851 (diff) |
Fix T84717: missing 3D viewport updates when changing shading settings
Previously this relied on the dependency graph to detect changes in the screen
datablock, which would then notify the renderers. This was rather indirect an
not even really by design. Instead use notifiers to tag specific 3D viewports
to be updated.
Includes changes to BKE_scene_get_depsgraph to accept a const Scene pointer.
Testing if this works correctly requires adding back commits 81d444c and 088904d,
since those have been temporarily reverted.
Differential Revision: https://developer.blender.org/D10235
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_nodes.h')
0 files changed, 0 insertions, 0 deletions