[Bf-blender-cvs] [245065460f3] blender2.8: Remove the Draw Curve operator from the Add menu
Philipp Oeser
noreply at git.blender.org
Tue Dec 4 14:46:58 CET 2018
Commit: 245065460f3381e8e3375464ec5ff3ce5b0ce3d6
Author: Philipp Oeser
Date: Tue Dec 4 14:42:08 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB245065460f3381e8e3375464ec5ff3ce5b0ce3d6
Remove the Draw Curve operator from the Add menu
this operator was only working in editmode and we now have a dedicated
tool for this.
Fixes T58495
thanx @billreynish for usability advice
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 7f4c9f20283..54a0245fc05 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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"
More information about the Bf-blender-cvs
mailing list