[Bf-blender-cvs] [aa8e3e6fbe4] master: UI: Add Split and Separate to the mesh editing context menus
William Reynish
noreply at git.blender.org
Sat May 4 15:12:22 CEST 2019
Commit: aa8e3e6fbe4af697622def5fc7931ba54f6bbb4e
Author: William Reynish
Date: Sat May 4 15:12:20 2019 +0200
Branches: master
https://developer.blender.org/rBaa8e3e6fbe4af697622def5fc7931ba54f6bbb4e
UI: Add Split and Separate to the mesh editing context 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 c6f104bd959..6eee784498d 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3359,6 +3359,8 @@ class VIEW3D_MT_edit_mesh_context_menu(Menu):
# Removal Operators
if selected_verts_len > 1:
col.menu("VIEW3D_MT_edit_mesh_merge", text="Merge Vertices")
+ col.operator("mesh.split")
+ col.operator_menu_enum("mesh.separate", "type")
col.operator("mesh.dissolve_verts")
col.operator("mesh.delete", text="Delete Vertices").type = 'VERT'
@@ -3424,6 +3426,8 @@ class VIEW3D_MT_edit_mesh_context_menu(Menu):
# Removal Operators
col.operator("mesh.unsubdivide")
+ col.operator("mesh.split")
+ col.operator_menu_enum("mesh.separate", "type")
col.operator("mesh.dissolve_edges")
col.operator("mesh.delete", text="Delete Edges").type = 'EDGE'
@@ -3468,6 +3472,8 @@ class VIEW3D_MT_edit_mesh_context_menu(Menu):
# Removal Operators
col.operator("mesh.unsubdivide")
+ col.operator("mesh.split")
+ col.operator_menu_enum("mesh.separate", "type")
col.operator("mesh.dissolve_faces")
col.operator("mesh.delete", text="Delete Faces").type = 'FACE'
More information about the Bf-blender-cvs
mailing list