Blender Git Loki

Git Commits -> Revision 0e37d3e

Revision 0e37d3e by Brecht Van Lommel (master)
January 29, 2021, 14:52 (GMT)
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

Commit Details:

Full Hash: 0e37d3efc017151309b272e4562edd901bfbde7a
Parent Commit: 087777f
Lines Changed: +93, -72

5 Modified Paths:

/source/blender/blenkernel/intern/scene.c (+1, -1) (Diff)
/source/blender/depsgraph/DEG_depsgraph.h (+2, -1) (Diff)
/source/blender/editors/include/ED_render.h (+10, -4) (Diff)
/source/blender/editors/render/render_update.c (+70, -63) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+10, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021