diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-15 17:33:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-15 17:33:28 +0400 |
commit | bac418b6918a6154dc4cd200feca70b6a2747027 (patch) | |
tree | 1e24a9793db31831130c0dbf4d98300613da5d20 /release/scripts/startup/bl_ui | |
parent | 9691095d7fc91cd05eb8041f76442243fd9a0ef1 (diff) |
show dissolve edge/vert/face in the delete menu, irrespective of the current mode.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index c61b07800ca..b8cbd058063 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -2075,13 +2075,11 @@ class VIEW3D_MT_edit_mesh_delete(Menu): layout.separator() - mesh_select_mode = context.tool_settings.mesh_select_mode[:] - if mesh_select_mode[2]: - layout.operator("mesh.dissolve_faces") - elif mesh_select_mode[1]: - layout.operator("mesh.dissolve_edges") - elif mesh_select_mode[0]: - layout.operator("mesh.dissolve_verts") + layout.operator("mesh.dissolve_verts") + layout.operator("mesh.dissolve_edges") + layout.operator("mesh.dissolve_faces") + + layout.separator() layout.operator("mesh.dissolve_limited") |