Bugfix #20738 - Mask modifier: Armature mode still shows "Vertex Group" as title.
authorJoshua Leung <aligorith@gmail.com>
Wed, 20 Jan 2010 00:31:34 +0000 (00:31 +0000)
committerJoshua Leung <aligorith@gmail.com>
Wed, 20 Jan 2010 00:31:34 +0000 (00:31 +0000)
release/scripts/ui/properties_data_modifier.py

index 8b43f29..1bafca3 100644 (file)
@@ -352,10 +352,11 @@ class DATA_PT_modifiers(DataButtonsPanel):
         col.prop(md, "mode", text="")
         if wide_ui:
             col = split.column()
-        col.label(text="Vertex Group:")
         if md.mode == 'ARMATURE':
+            col.label(text="Armature:")
             col.prop(md, "armature", text="")
         elif md.mode == 'VERTEX_GROUP':
+            col.label(text="Vertex Group:")
             col.prop_object(md, "vertex_group", ob, "vertex_groups", text="")
 
         sub = col.column()