Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVuk Gardašević <lijenstina>2018-06-26 15:29:21 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-06-26 15:29:21 +0300
commit43d27095a3d6d0d4c743c68581eab2b4c86939d4 (patch)
treeb2b17e7acc73905b9e8aa67dd4dc15f9c87cd5a4 /release
parent25caedc4ba9ea724465651716bf5ae92d66c63dd (diff)
UI: Make Mesh shading menu consistent with the other menus
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py22
1 files changed, 13 insertions, 9 deletions
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):