Revert "UI: Remove duplicate Mark/Clear Seam entries from Edge menus"
authorPablo Vazquez <pablo@blender.org>
Fri, 22 May 2020 11:41:48 +0000 (13:41 +0200)
committerPablo Vazquez <pablo@blender.org>
Fri, 22 May 2020 11:41:48 +0000 (13:41 +0200)
Seams are widely used outside UV context so it's okay to duplicate entries.
Based on community feedback, thanks!

This reverts commit fc62a3366c3264466b57e0d19b8d2970a1ad1a60.

release/scripts/startup/bl_ui/space_view3d.py

index d83d20a63cb895ad08b391fe0fe7349c5fd9bc3b..7ed969bc92182efbe947a39b88ed9332c7647116 100644 (file)
@@ -3761,6 +3761,11 @@ class VIEW3D_MT_edit_mesh_context_menu(Menu):
 
             col.separator()
 
+            col.operator("mesh.mark_seam").clear = False
+            col.operator("mesh.mark_seam", text="Clear Seam").clear = True
+
+            col.separator()
+
             col.operator("mesh.mark_sharp")
             col.operator("mesh.mark_sharp", text="Clear Sharp").clear = True
 
@@ -4006,6 +4011,11 @@ class VIEW3D_MT_edit_mesh_edges(Menu):
 
         layout.separator()
 
+        layout.operator("mesh.mark_seam").clear = False
+        layout.operator("mesh.mark_seam", text="Clear Seam").clear = True
+
+        layout.separator()
+
         layout.operator("mesh.mark_sharp")
         layout.operator("mesh.mark_sharp", text="Clear Sharp").clear = True