Object mode select grouped operator (Shift+G and Select manu)
[blender.git] / source / blender / editors / object / object_ops.c
index 50c1467393943208fbd1814b64cc2f4319dcf430..258fc3386cfe2edf3e0be752609a439f358fca37 100644 (file)
@@ -74,6 +74,7 @@ void ED_operatortypes_object(void)
        WM_operatortype_append(OBJECT_OT_select_by_type);
        WM_operatortype_append(OBJECT_OT_select_by_layer);
        WM_operatortype_append(OBJECT_OT_select_linked);
+       WM_operatortype_append(OBJECT_OT_select_grouped);
        WM_operatortype_append(OBJECT_OT_location_clear);
        WM_operatortype_append(OBJECT_OT_rotation_clear);
        WM_operatortype_append(OBJECT_OT_scale_clear);
@@ -144,6 +145,7 @@ void ED_keymap_object(wmWindowManager *wm)
        WM_keymap_add_item(keymap, "OBJECT_OT_select_by_type", PADASTERKEY, KM_PRESS, KM_CTRL, 0);
        WM_keymap_add_item(keymap, "OBJECT_OT_select_by_layer", PADASTERKEY, KM_PRESS, KM_ALT, 0);
        WM_keymap_add_item(keymap, "OBJECT_OT_select_linked", LKEY, KM_PRESS, KM_SHIFT, 0);
+       WM_keymap_add_item(keymap, "OBJECT_OT_select_grouped", GKEY, KM_PRESS, KM_SHIFT, 0);
        
        WM_keymap_verify_item(keymap, "OBJECT_OT_parent_set", PKEY, KM_PRESS, KM_CTRL, 0);
        WM_keymap_verify_item(keymap, "OBJECT_OT_parent_clear", PKEY, KM_PRESS, KM_ALT, 0);