show dissolve edge/vert/face in the delete menu, irrespective of the current mode.
[blender-staging.git] / 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")