show dissolve edge/vert/face in the delete menu, irrespective of the current mode.
authorCampbell Barton <ideasman42@gmail.com>
Sat, 15 Jun 2013 13:33:28 +0000 (13:33 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 15 Jun 2013 13:33:28 +0000 (13:33 +0000)
release/scripts/startup/bl_ui/space_view3d.py

index c61b07800ca7e5122ca0b4c0bb986cf53ea8a4d0..b8cbd0580638a01bb3287a916ada35dd9958ed7a 100644 (file)
@@ -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")