More work for [#31429] Curve menu polish.

* Curve Extrude and Duplicate from Toolbar also moves the points now, same as for Mesh and in alignment with the menu. 

* Fixed yet another tooltip.
This commit is contained in:
Thomas Dinges 2012-05-13 09:13:47 +00:00
parent 90aa56a12a
commit 7735e56058
2 changed files with 5 additions and 5 deletions

@ -231,7 +231,7 @@ class VIEW3D_PT_tools_curveedit(View3DPanel, Panel):
col = layout.column(align=True)
col.label(text="Curve:")
col.operator("curve.duplicate")
col.operator("curve.duplicate_move", text="Duplicate")
col.operator("curve.delete")
col.operator("curve.cyclic_toggle")
col.operator("curve.switch_direction")
@ -248,7 +248,7 @@ class VIEW3D_PT_tools_curveedit(View3DPanel, Panel):
col = layout.column(align=True)
col.label(text="Modeling:")
col.operator("curve.extrude")
col.operator("curve.extrude_move", text="Extrude")
col.operator("curve.subdivide")
draw_repeat_tools(context, layout)
@ -273,14 +273,14 @@ class VIEW3D_PT_tools_surfaceedit(View3DPanel, Panel):
col = layout.column(align=True)
col.label(text="Curve:")
col.operator("curve.duplicate")
col.operator("curve.duplicate_move", text="Duplicate")
col.operator("curve.delete")
col.operator("curve.cyclic_toggle")
col.operator("curve.switch_direction")
col = layout.column(align=True)
col.label(text="Modeling:")
col.operator("curve.extrude")
col.operator("curve.extrude", text="Extrude")
col.operator("curve.subdivide")
draw_repeat_tools(context, layout)

@ -4729,7 +4729,7 @@ void CURVE_OT_extrude(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Extrude";
ot->description = "Extrude selected control point(s) and move";
ot->description = "Extrude selected control point(s)";
ot->idname = "CURVE_OT_extrude";
/* api callbacks */