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_material.py | |
parent | 2bceb3ae1859e67e4f6b487e999f0f81d7615fb3 (diff) |
Cleanup: don't use single sets for comparisons
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_material.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_material.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_material.py b/release/scripts/startup/bl_ui/properties_material.py index 20143b81d14..cea0c9aef95 100644 --- a/release/scripts/startup/bl_ui/properties_material.py +++ b/release/scripts/startup/bl_ui/properties_material.py @@ -87,7 +87,7 @@ class MATERIAL_UL_matslots(UIList): layout.label(text=iface_("Node %s") % manode.name, translate=False, icon_value=layout.icon(manode)) elif ma.use_nodes: layout.label(text="Node <none>") - elif self.layout_type in {'GRID'}: + elif self.layout_type == 'GRID': layout.alignment = 'CENTER' layout.label(text="", icon_value=icon) |