edit mode selection menu - ctrl+shift+tab
[blender-staging.git] / source / blender / editors / mesh / mesh_ops.c
index 14b2069371eee101c8d4d5dc462ff8b668a13607..8cbc3b9747e01723f9bebc2315664666062da25e 100644 (file)
@@ -114,6 +114,7 @@ void ED_operatortypes_mesh(void)
        WM_operatortype_append(MESH_OT_selectconnected_mesh_all);
        WM_operatortype_append(MESH_OT_selectconnected_mesh);
        WM_operatortype_append(MESH_OT_selectrandom_mesh);
+       WM_operatortype_append(MESH_OT_mesh_selection_mode_menu);
        WM_operatortype_append(MESH_OT_hide_mesh);
        WM_operatortype_append(MESH_OT_reveal_mesh);
        WM_operatortype_append(MESH_OT_consistant_normals);
@@ -194,6 +195,10 @@ void ED_keymap_mesh(wmWindowManager *wm)
        WM_keymap_add_item(keymap, "MESH_OT_similar_edge_select", GKEY, KM_PRESS, KM_SHIFT2|KM_CTRL, 0);
        WM_keymap_add_item(keymap, "MESH_OT_similar_face_select", GKEY, KM_PRESS, KM_SHIFT|KM_CTRL2, 0);
        
+       /* selection mode */
+       
+       WM_keymap_add_item(keymap, "MESH_OT_mesh_selection_mode_menu", TABKEY, KM_PRESS, KM_CTRL|KM_SHIFT, 0);
+       
        
        /* transform keymap already defined, so no tweaks for select */