Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/ui/buttons_data_mesh.py')
-rw-r--r--release/ui/buttons_data_mesh.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/release/ui/buttons_data_mesh.py b/release/ui/buttons_data_mesh.py
index c7663be1923..c1311b32180 100644
--- a/release/ui/buttons_data_mesh.py
+++ b/release/ui/buttons_data_mesh.py
@@ -2,8 +2,8 @@
import bpy
class DataButtonsPanel(bpy.types.Panel):
- __space_type__ = "PROPERTIES"
- __region_type__ = "WINDOW"
+ __space_type__ = 'PROPERTIES'
+ __region_type__ = 'WINDOW'
__context__ = "data"
def poll(self, context):
@@ -93,12 +93,12 @@ class DATA_PT_vertex_groups(DataButtonsPanel):
row.template_list(ob, "vertex_groups", ob, "active_vertex_group_index")
col = row.column(align=True)
- col.itemO("object.vertex_group_add", icon="ICON_ZOOMIN", text="")
- col.itemO("object.vertex_group_remove", icon="ICON_ZOOMOUT", text="")
+ col.itemO("object.vertex_group_add", icon='ICON_ZOOMIN', text="")
+ col.itemO("object.vertex_group_remove", icon='ICON_ZOOMOUT', text="")
- col.itemO("object.vertex_group_copy", icon="ICON_BLANK1", text="")
+ col.itemO("object.vertex_group_copy", icon='ICON_BLANK1', text="")
if ob.data.users > 1:
- col.itemO("object.vertex_group_copy_to_linked", icon="ICON_BLANK1", text="")
+ col.itemO("object.vertex_group_copy_to_linked", icon='ICON_BLANK1', text="")
group = ob.active_vertex_group
if group:
@@ -137,15 +137,15 @@ class DATA_PT_shape_keys(DataButtonsPanel):
col = row.column()
subcol = col.column(align=True)
- subcol.itemO("object.shape_key_add", icon="ICON_ZOOMIN", text="")
- subcol.itemO("object.shape_key_remove", icon="ICON_ZOOMOUT", text="")
+ subcol.itemO("object.shape_key_add", icon='ICON_ZOOMIN', text="")
+ subcol.itemO("object.shape_key_remove", icon='ICON_ZOOMOUT', text="")
if kb:
col.itemS()
subcol = col.column(align=True)
- subcol.itemR(ob, "shape_key_lock", icon="ICON_UNPINNED", text="")
- subcol.itemR(kb, "mute", icon="ICON_MUTE_IPO_ON", text="")
+ subcol.itemR(ob, "shape_key_lock", icon='ICON_UNPINNED', text="")
+ subcol.itemR(kb, "mute", icon='ICON_MUTE_IPO_ON', text="")
if key.relative:
row = layout.row()
@@ -197,8 +197,8 @@ class DATA_PT_uv_texture(DataButtonsPanel):
col.template_list(me, "uv_textures", me, "active_uv_texture_index", rows=2)
col = row.column(align=True)
- col.itemO("mesh.uv_texture_add", icon="ICON_ZOOMIN", text="")
- col.itemO("mesh.uv_texture_remove", icon="ICON_ZOOMOUT", text="")
+ col.itemO("mesh.uv_texture_add", icon='ICON_ZOOMIN', text="")
+ col.itemO("mesh.uv_texture_remove", icon='ICON_ZOOMOUT', text="")
lay = me.active_uv_texture
if lay:
@@ -218,8 +218,8 @@ class DATA_PT_vertex_colors(DataButtonsPanel):
col.template_list(me, "vertex_colors", me, "active_vertex_color_index", rows=2)
col = row.column(align=True)
- col.itemO("mesh.vertex_color_add", icon="ICON_ZOOMIN", text="")
- col.itemO("mesh.vertex_color_remove", icon="ICON_ZOOMOUT", text="")
+ col.itemO("mesh.vertex_color_add", icon='ICON_ZOOMIN', text="")
+ col.itemO("mesh.vertex_color_remove", icon='ICON_ZOOMOUT', text="")
lay = me.active_vertex_color
if lay: