Blender Git Loki
Git Commits -> Revision 7f21913
Revision 7f21913 by Lukas Toenne (master) January 20, 2015, 08:30 (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: 7f219137cf13003143f5d671b6c59bc500b53f75
Parent Commit: d124696
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)
/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)