diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-14 03:29:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-14 03:34:32 +0300 |
commit | af2f4724d57ac11d45e22db97fa797676c44d091 (patch) | |
tree | 71299a3cdc136e360bd91cab24c7b07cfaa656a6 /release/scripts/startup/bl_ui/space_image.py | |
parent | 2bceb3ae1859e67e4f6b487e999f0f81d7615fb3 (diff) |
Cleanup: don't use single sets for comparisons
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 2 |
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 9a1b9dbc74f..e4542163086 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -1057,7 +1057,7 @@ class ImageScopesPanel: if not (sima and sima.image): return False # scopes are not updated in paint modes, hide - if sima.mode in {'PAINT'}: + if sima.mode == 'PAINT': return False ob = context.active_object if ob and ob.mode in {'TEXTURE_PAINT', 'EDIT'}: |