diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-08-24 00:41:21 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-08-24 00:41:21 +0400 |
commit | 5b83a89c8127d48221d769fbff18ef02baaa1f6b (patch) | |
tree | dcd776aaef0d10625e0e50a93c1c34c0fa9bf113 /release/scripts/startup/bl_ui/properties_data_mesh.py | |
parent | 52eb61f84b564308762fdaafbd05b5193cf513c0 (diff) |
Followup to r59434 : py UI scripts edits.
Notes:
* Made those edits by full checking of py files, so I should have spoted most needed edits, yet it remains quite probable I missed a few ones, we'll fix if/when someone notice it...
* Also made some cleanup "on the road"!
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_mesh.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_mesh.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index b5461c45433..a703222ecd0 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -81,7 +81,7 @@ class MESH_UL_shape_keys(UIList): if self.layout_type in {'DEFAULT', 'COMPACT'}: split = layout.split(0.66, False) split.label(text=item.name, translate=False, icon_value=icon) - row = split.row(True) + row = split.row(align=True) if key_block.mute or (obj.mode == 'EDIT' and not (obj.use_shape_key_edit_mode and obj.type == 'MESH')): row.active = False if not item.relative_key or index > 0: @@ -207,7 +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' - if group: row = layout.row() row.prop(group, "name") |