Blender Git Loki
Git Commits -> Revision 29fce56
Revision 29fce56 by Lukas Toenne (temp_merge_gooseberry_hair) January 19, 2015, 19:25 (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: 29fce56a180e23032d537314a041084d216e6e89
Parent Commit: 2dd812d
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)