Blender Git Commit Log
Git Commits -> Revision b8d9b5e
Revision b8d9b5e by Pablo Dobarro (master) April 2, 2020, 16:00 (GMT) |
Sculpt: Delay Viewport Updates In Blender 2.81 we update and draw all nodes inside the view planes. When navigating with a pen tablet after an operation that tags the whole mesh to update (like undo or inverting the mask), this introduces some lag as nodes are updating when they enter the view. The viewport is not fully responsive again until all nodes have entered the view after the operation. This commit delays nodes updates until the view navigation stops, so the viewport navigation is always fully responsive. This introduces some artifacts while navigating, so it can be disabled if you don't want to see them. I'm storing the update planes in the PBVH. This way I can add support for some tools to update in real-time only the nodes inside this plane while running the operator, like the mesh filter. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6269 |
Commit Details:
Full Hash: b8d9b5e3315232bb157de43713ec2a54433cf9a6
Parent Commit: 34465a7
Lines Changed: +89, -13
7 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+2, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+5, -1) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+27, -2) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+3, -0) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+43, -10) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+8, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+5, -1) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+27, -2) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+3, -0) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+43, -10) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+8, -0) (Diff)