Blender Git Loki

Git Commits -> Revision 3b1186a

January 12, 2015, 13:27 (GMT)
Disable scope updates in texture and image paint modes.

Scope update is very slow for high resolutions, and currently blocks
the UI thread(!). This is especially terrible in paint modes, where
each stroke causes a scope update and unacceptable freezing.

The scopes update method tries to avoid this somewhat by skipping if the
toolbar is disabled, but this doesn't help when painting where brush
tools etc. are frequently needed. It's also a bad-level poll, with the
core system accessing a UI element.

Eventually scope updates should become a low-priority background job,
as well as becoming threaded. Until then this polling provides a usable
workaround to the most outrageous cases.

Commit Details:

Full Hash: 3b1186addd67f39954fe6427275eebed0738f7d8
Parent Commit: 5a535bb
Lines Changed: +43, -35

5 Modified Paths:

/release/scripts/startup/bl_ui/space_image.py (+19, -31) (Diff)
/source/blender/editors/include/ED_image.h (+3, -0) (Diff)
/source/blender/editors/space_image/image_edit.c (+15, -0) (Diff)
/source/blender/editors/space_image/space_image.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+4, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021