diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2013-11-24 17:25:38 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2013-11-24 17:27:02 +0400 |
commit | fab96b59133fee78b6c2e5ad3d5bc74d3d3bf4d5 (patch) | |
tree | a9974ca9358eaf413827b548640c711e7520a56c /release/scripts/startup/bl_ui/properties_data_mesh.py | |
parent | 1e096852bf38f8d7b9bdb93d9a5f1e585b87db05 (diff) |
UI List: remove separate name text fields.
It was never the intention to have these separate, and now that we can rename
directly in the list there is no more need for them.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_mesh.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_mesh.py | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index 87f745dc4a1..edf3354db4f 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -191,7 +191,7 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, Panel): ob = context.object group = ob.vertex_groups.active - rows = 1 + rows = 2 if group: rows = 4 @@ -207,9 +207,6 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, Panel): col.operator("object.vertex_group_move", icon='TRIA_UP', text="").direction = 'UP' col.operator("object.vertex_group_move", icon='TRIA_DOWN', text="").direction = 'DOWN' - row = layout.row() - row.prop(group, "name") - if ob.vertex_groups and (ob.mode == 'EDIT' or (ob.mode == 'WEIGHT_PAINT' and ob.type == 'MESH' and ob.data.use_paint_mask_vertex)): row = layout.row() @@ -250,7 +247,7 @@ class DATA_PT_shape_keys(MeshButtonsPanel, Panel): row = layout.row() - rows = 1 + rows = 2 if kb: rows = 4 row.template_list("MESH_UL_shape_keys", "", key, "key_blocks", ob, "active_shape_key_index", rows=rows) @@ -290,9 +287,6 @@ class DATA_PT_shape_keys(MeshButtonsPanel, Panel): else: sub.operator("object.shape_key_retime", icon='RECOVER_LAST', text="") - row = layout.row() - row.prop(kb, "name") - if key.use_relative: if ob.active_shape_key_index != 0: row = layout.row() @@ -340,9 +334,6 @@ class DATA_PT_uv_texture(MeshButtonsPanel, Panel): col.operator("mesh.uv_texture_add", icon='ZOOMIN', text="") col.operator("mesh.uv_texture_remove", icon='ZOOMOUT', text="") - if lay: - layout.prop(lay, "name") - class DATA_PT_vertex_colors(MeshButtonsPanel, Panel): bl_label = "Vertex Colors" @@ -363,9 +354,6 @@ class DATA_PT_vertex_colors(MeshButtonsPanel, Panel): col.operator("mesh.vertex_color_add", icon='ZOOMIN', text="") col.operator("mesh.vertex_color_remove", icon='ZOOMOUT', text="") - if lay: - layout.prop(lay, "name") - class DATA_PT_customdata(MeshButtonsPanel, Panel): bl_label = "Geometry Data" |