blender/release
Pablo Dobarro b8d9b5e331 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
2020-04-02 18:00:51 +02:00
..
bin
darwin Fix Blender DMG bundling for macOS failing on buildbot 2020-01-22 11:14:30 +01:00
datafiles Theme: adjust lamp alpha to visually match 2.82 2020-03-30 10:12:08 +11:00
freedesktop Fix invalid Linux appdata.xml syntax 2020-03-19 21:55:17 +01:00
scripts Sculpt: Delay Viewport Updates 2020-04-02 18:00:51 +02:00
text Use latest/version number for manual links 2019-07-04 18:24:36 -04:00
windows VR: Initial Virtual Reality support - Milestone 1, Scene Inspection 2020-03-17 21:42:44 +01:00