Blender Git Commit Log

Git Commits -> Revision 77fdd18

Revision 77fdd18 by Jeroen Bakker (master)
May 26, 2020, 06:29 (GMT)
Fix T76970: Unneccessary update calls viewport

Due to recent changes clicks in the node editor would trigger a
depsgraph update resulting in too many redraws. This patch limits
the updates to when workbench shown in texture mode in any visible
screen.

There are still cases where too many updates are created. For example when
there are a Cycles render viewport and a Workbench texture viewport on the
same screen.

This fix is meant as a workaround. The actual fix should add a mechanism
to the depsgraph and the viewports should check if they need to be redrawn.

Reviewed By: Brecht van Lommel

Differential Revision: https://developer.blender.org/D7830

Commit Details:

Full Hash: 77fdd189e4b22d2aa2410109a1a514d21f58d865
Parent Commit: 39aa122
Lines Changed: +86, -8

7 Modified Paths:

/source/blender/editors/include/ED_node.h (+4, -1) (Diff)
/source/blender/editors/include/ED_view3d.h (+3, -0) (Diff)
/source/blender/editors/space_buttons/buttons_texture.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_add.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+8, -2) (Diff)
/source/blender/editors/space_node/node_select.c (+49, -3) (Diff)
/source/blender/editors/space_view3d/view3d_utils.c (+20, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021