Patch #29394: Error in VIEW3D_MT_EDIT_CURVE menu
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 25 Nov 2011 09:22:36 +0000 (09:22 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 25 Nov 2011 09:22:36 +0000 (09:22 +0000)
Wrong shortcut was displaying for Curve -> Control Point -> Tilt operator

Patch by Mike Sloman, thanks!

release/scripts/startup/bl_ui/space_view3d.py

index e090b338a7dac0bef9c8743d59025c48a034c526..55437d63a5d3d4061966dce4833ddad80b549bd4 100644 (file)
@@ -1758,7 +1758,7 @@ class VIEW3D_MT_edit_curve_ctrlpoints(Menu):
         edit_object = context.edit_object
 
         if edit_object.type == 'CURVE':
-            layout.operator("transform.transform", text="Tilt").mode = 'TILT'
+            layout.operator("transform.tilt")
             layout.operator("curve.tilt_clear")
             layout.operator("curve.separate")