[Bf-blender-cvs] [2fe3740] blender-v2.75-release: UI: Vertex Mark/Clear Sharp menu, match edge menu

Campbell Barton noreply at git.blender.org
Thu Jun 18 17:36:48 CEST 2015


Commit: 2fe374052a666fa1d4b204870a3fcf0b7c1e84f9
Author: Campbell Barton
Date:   Sat Jun 13 00:33:21 2015 +1000
Branches: blender-v2.75-release
https://developer.blender.org/rB2fe374052a666fa1d4b204870a3fcf0b7c1e84f9

UI: Vertex Mark/Clear Sharp menu, match edge menu

===================================================================

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 490b98d..b487a18 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2279,10 +2279,10 @@ class VIEW3D_MT_edit_mesh_vertices(Menu):
 
         layout.separator()
 
-        op = layout.operator("mesh.mark_sharp", text="Shade Smooth")
-        op.use_verts = True
-        op.clear = True
-        layout.operator("mesh.mark_sharp", text="Shade Sharp").use_verts = True
+        layout.operator("mesh.mark_sharp", text="Mark Sharp Edges").use_verts = True
+        props = layout.operator("mesh.mark_sharp", text="Clear Sharp Edges")
+        props.use_verts = True
+        props.clear = True
 
         layout.separator()




More information about the Bf-blender-cvs mailing list