bugfix [#24256] Wrong bone subdivision number in tweak panel.

there were 3 operators for armature subdivision, now only have 1 (as with mesh).
+ remove unused warnigns.
This commit is contained in:
Campbell Barton
2010-10-15 03:24:47 +00:00
parent 201fd16df9
commit d3fcc2d0b4
9 changed files with 44 additions and 125 deletions

View File

@@ -1856,7 +1856,7 @@ class VIEW3D_MT_edit_armature(bpy.types.Menu):
layout.separator()
layout.operator("armature.subdivide_multi", text="Subdivide")
layout.operator("armature.subdivide", text="Subdivide")
layout.operator("armature.switch_direction", text="Switch Direction")
layout.separator()
@@ -1890,7 +1890,7 @@ class VIEW3D_MT_armature_specials(bpy.types.Menu):
layout.operator_context = 'INVOKE_REGION_WIN'
layout.operator("armature.subdivide_multi", text="Subdivide")
layout.operator("armature.subdivide", text="Subdivide")
layout.operator("armature.switch_direction", text="Switch Direction")
layout.separator()

View File

@@ -311,7 +311,7 @@ class VIEW3D_PT_tools_armatureedit(View3DPanel, bpy.types.Panel):
col = layout.column(align=True)
col.label(text="Modeling:")
col.operator("armature.extrude_move")
col.operator("armature.subdivide_multi", text="Subdivide")
col.operator("armature.subdivide", text="Subdivide")
col = layout.column(align=True)
col.label(text="Repeat:")