armature ops aligned with naming conventions - small fix
authorShaul Kedem <shaul_kedem@yahoo.com>
Sun, 12 Apr 2009 22:16:21 +0000 (22:16 +0000)
committerShaul Kedem <shaul_kedem@yahoo.com>
Sun, 12 Apr 2009 22:16:21 +0000 (22:16 +0000)
source/blender/editors/armature/armature_intern.h
source/blender/editors/armature/armature_ops.c
source/blender/editors/armature/editarmature.c

index 8142189b61b19abaeb09c48a7900502ea92c75e9..486d2760d4ab24446fbf215e0ab7c4de07eca9bd 100644 (file)
@@ -33,7 +33,7 @@ struct wmOperatorType;
 
 /* editarmature.c operators */
 void ARMATURE_OT_bone_primitive_add(struct wmOperatorType *ot);
-void ARMATURE_OT_align_bones(struct wmOperatorType *ot);
+void ARMATURE_OT_bones_align(struct wmOperatorType *ot);
 void ARMATURE_OT_calculate_roll(struct wmOperatorType *ot);
 void ARMATURE_OT_switch_direction(struct wmOperatorType *ot);
 void ARMATURE_OT_subdivs(struct wmOperatorType *ot);
index fb366a5cfa8d5a7b6dcbfc13d04f4de8c38c20a3..1e09c636bd9349f44062477ba43cd95ede13d0d6 100644 (file)
@@ -110,7 +110,7 @@ void ED_operatortypes_armature(void)
        /* EDIT ARMATURE */
        WM_operatortype_append(ARMATURE_OT_bone_primitive_add);
        
-       WM_operatortype_append(ARMATURE_OT_align_bones);
+       WM_operatortype_append(ARMATURE_OT_bones_align);
        WM_operatortype_append(ARMATURE_OT_calculate_roll);
        WM_operatortype_append(ARMATURE_OT_switch_direction);
        WM_operatortype_append(ARMATURE_OT_subdivs);
@@ -167,7 +167,7 @@ void ED_keymap_armature(wmWindowManager *wm)
        
        /* only set in editmode armature, by space_view3d listener */
 //     WM_keymap_add_item(keymap, "ARMATURE_OT_hide", HKEY, KM_PRESS, 0, 0);
-       WM_keymap_add_item(keymap, "ARMATURE_OT_align_bones", AKEY, KM_PRESS, KM_CTRL|KM_ALT, 0);
+       WM_keymap_add_item(keymap, "ARMATURE_OT_bones_align", AKEY, KM_PRESS, KM_CTRL|KM_ALT, 0);
        WM_keymap_add_item(keymap, "ARMATURE_OT_calculate_roll", NKEY, KM_PRESS, KM_CTRL, 0);
        
        WM_keymap_add_item(keymap, "ARMATURE_OT_switch_direction", FKEY, KM_PRESS, KM_ALT, 0);
index 659cd58690270f6b255a1c3541e1e3d956d4d395..80f51f3797c0503a8c2fffb954c3f8b89c23efea 100644 (file)
@@ -4112,11 +4112,11 @@ static int armature_align_bones_exec(bContext *C, wmOperator *op)
        return OPERATOR_FINISHED;
 }
 
-void ARMATURE_OT_align_bones(wmOperatorType *ot)
+void ARMATURE_OT_bones_align(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Align Bones";
-       ot->idname= "ARMATURE_OT_align_bones";
+       ot->idname= "ARMATURE_OT_bones_align";
        
        /* api callbacks */
        ot->invoke = WM_operator_confirm;