diff options
Diffstat (limited to 'release/ui/buttons_material.py')
-rw-r--r-- | release/ui/buttons_material.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/ui/buttons_material.py b/release/ui/buttons_material.py index 73d28d6964c..eaba26c7e51 100644 --- a/release/ui/buttons_material.py +++ b/release/ui/buttons_material.py @@ -2,8 +2,8 @@ import bpy class MaterialButtonsPanel(bpy.types.Panel): - __space_type__ = "PROPERTIES" - __region_type__ = "WINDOW" + __space_type__ = 'PROPERTIES' + __region_type__ = 'WINDOW' __context__ = "material" # COMPAT_ENGINES must be defined in each subclass, external engines can add themselves here @@ -45,8 +45,8 @@ class MATERIAL_PT_context_material(MaterialButtonsPanel): row.template_list(ob, "materials", ob, "active_material_index", rows=2) col = row.column(align=True) - col.itemO("object.material_slot_add", icon="ICON_ZOOMIN", text="") - col.itemO("object.material_slot_remove", icon="ICON_ZOOMOUT", text="") + col.itemO("object.material_slot_add", icon='ICON_ZOOMIN', text="") + col.itemO("object.material_slot_remove", icon='ICON_ZOOMOUT', text="") if ob.mode == 'EDIT': row = layout.row(align=True) |