Remove the Draw Curve operator from the Add menu
authorPhilipp Oeser <info@graphics-engineer.com>
Tue, 4 Dec 2018 13:42:08 +0000 (14:42 +0100)
committerPhilipp Oeser <info@graphics-engineer.com>
Tue, 4 Dec 2018 13:42:08 +0000 (14:42 +0100)
this operator was only working in editmode and we now have a dedicated
tool for this.

Fixes T58495

thanx @billreynish for usability advice

release/scripts/startup/bl_ui/space_view3d.py

index 7f4c9f2028302d9948dd56cd8dbc7d5c87b0c512..54a0245fc05e1e8bacf9c8269a04d869b4c78787 100644 (file)
@@ -1412,10 +1412,6 @@ class VIEW3D_MT_curve_add(Menu):
         layout.operator("curve.primitive_nurbs_circle_add", text="Nurbs Circle", icon='CURVE_NCIRCLE')
         layout.operator("curve.primitive_nurbs_path_add", text="Path", icon='CURVE_PATH')
 
-        layout.separator()
-
-        layout.operator("curve.draw", icon='LINE_DATA')
-
 
 class VIEW3D_MT_surface_add(Menu):
     bl_idname = "VIEW3D_MT_surface_add"