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:
authorWilliam Reynish <billrey@me.com>2019-05-04 16:12:20 +0300
committerWilliam Reynish <billrey@me.com>2019-05-04 16:12:20 +0300
commitaa8e3e6fbe4af697622def5fc7931ba54f6bbb4e (patch)
tree3e0e349b9be0277922298f4ce3899eeabf327623 /release
parente718b9712e6057488d0410de3faea0f0692039fb (diff)
UI: Add Split and Separate to the mesh editing context menus
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py6
1 files changed, 6 insertions, 0 deletions
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'