[Bf-blender-cvs] [43d27095a3d] blender2.8: UI: Make Mesh shading menu consistent with the other menus
Vuk GardaÅ¡eviÄ
noreply at git.blender.org
Tue Jun 26 14:31:03 CEST 2018
Commit: 43d27095a3d6d0d4c743c68581eab2b4c86939d4
Author: Vuk Gardašević
Date: Tue Jun 26 14:29:21 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB43d27095a3d6d0d4c743c68581eab2b4c86939d4
UI: Make Mesh shading menu consistent with the other menus
===================================================================
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 0f44eea1629..6645a1b12ef 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2973,17 +2973,21 @@ class VIEW3D_MT_edit_mesh_shading(Menu):
def draw(self, context):
layout = self.layout
- layout.label(text="Faces:")
- layout.operator("mesh.faces_shade_smooth", text="Smooth")
- layout.operator("mesh.faces_shade_flat", text="Flat")
- layout.label(text="Edges:")
- layout.operator("mesh.mark_sharp", text="Smooth").clear = True
- layout.operator("mesh.mark_sharp", text="Sharp")
- layout.label(text="Vertices:")
- props = layout.operator("mesh.mark_sharp", text="Smooth")
+ layout.operator("mesh.faces_shade_smooth", text="Smooth Faces")
+ layout.operator("mesh.faces_shade_flat", text="Flat Faces")
+
+ layout.separator()
+
+ layout.operator("mesh.mark_sharp", text="Smooth Edges").clear = True
+ layout.operator("mesh.mark_sharp", text="Sharp Edges")
+
+ layout.separator()
+
+ props = layout.operator("mesh.mark_sharp", text="Smooth Vertices")
props.use_verts = True
props.clear = True
- layout.operator("mesh.mark_sharp", text="Sharp").use_verts = True
+
+ layout.operator("mesh.mark_sharp", text="Sharp Vertices").use_verts = True
class VIEW3D_MT_edit_mesh_weights(Menu):
More information about the Bf-blender-cvs
mailing list