Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-04-13 15:39:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-13 15:44:08 +0300
commit41350a91b52fa391bdd9e37b1c7b171b3a6b9021 (patch)
treebe4b41d2062d97b8f8523fe06b3baec4e6dcf9e6 /release/scripts/startup/bl_ui/space_image.py
parent364b6b29ff2ea19a31fdfc8e08b75ce0d46df40b (diff)
Workaround T44351: Scopes make editmesh lag
Scopes are very heavy to calculate and editmesh uv's can cause the image view to redraw. Best just disable scopes in this case.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index a1101bb3efb..9a1b9dbc74f 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -1060,7 +1060,7 @@ class ImageScopesPanel:
if sima.mode in {'PAINT'}:
return False
ob = context.active_object
- if ob and ob.mode in {'TEXTURE_PAINT'}:
+ if ob and ob.mode in {'TEXTURE_PAINT', 'EDIT'}:
return False
return True