Cleanup: don't use single sets for comparisons

This commit is contained in:
Campbell Barton
2015-04-14 10:29:11 +10:00
parent 2bceb3ae18
commit af2f4724d5
19 changed files with 28 additions and 28 deletions

View File

@@ -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'}: