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/properties_physics_dynamicpaint.py | |
parent | 2bceb3ae1859e67e4f6b487e999f0f81d7615fb3 (diff) |
Cleanup: don't use single sets for comparisons
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py index 01dcf837546..269ffa6d371 100644 --- a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py +++ b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py @@ -40,7 +40,7 @@ class PHYSICS_UL_dynapaint_surfaces(UIList): row.prop(surf, "show_preview", text="", emboss=False, icon='RESTRICT_VIEW_OFF' if surf.show_preview else 'RESTRICT_VIEW_ON') row.prop(surf, "is_active", text="") - elif self.layout_type in {'GRID'}: + elif self.layout_type == 'GRID': layout.alignment = 'CENTER' row = layout.row(align=True) row.label(text="", icon_value=icon) |