2.5 - Restoring Bone Groups
[blender-staging.git] / source / blender / editors / armature / armature_ops.c
index ed98f70818eebecb9b871536be71e151db33ebc2..84bddbf07256b8212b4576eaf72efee8acc51969 100644 (file)
@@ -155,6 +155,12 @@ void ED_operatortypes_armature(void)
        WM_operatortype_append(POSE_OT_select_linked);
        WM_operatortype_append(POSE_OT_select_constraint_target);
        
+       WM_operatortype_append(POSE_OT_groups_menu);
+       WM_operatortype_append(POSE_OT_group_add);
+       WM_operatortype_append(POSE_OT_group_remove);
+       WM_operatortype_append(POSE_OT_group_assign);
+       WM_operatortype_append(POSE_OT_group_unassign);
+       
        /* POSELIB */
        WM_operatortype_append(POSELIB_OT_browse_interactive);
        
@@ -256,6 +262,8 @@ void ED_keymap_armature(wmWindowManager *wm)
        WM_keymap_add_item(keymap, "POSE_OT_ik_add", IKEY, KM_PRESS, /*KM_CTRL|*/KM_SHIFT, 0);
        WM_keymap_add_item(keymap, "POSE_OT_ik_clear", IKEY, KM_PRESS, KM_CTRL|KM_ALT, 0);
        
+       WM_keymap_add_item(keymap, "POSE_OT_groups_menu", GKEY, KM_PRESS, KM_CTRL, 0);
+       
        // XXX this should probably be in screen instead... here for testing purposes in the meantime... - Aligorith
        WM_keymap_verify_item(keymap, "ANIM_OT_insert_keyframe_menu", IKEY, KM_PRESS, 0, 0);
        WM_keymap_verify_item(keymap, "ANIM_OT_delete_keyframe_old", IKEY, KM_PRESS, KM_ALT, 0);