operator renaming for more consistent word ordering (_add/_remmove shold be last...
[blender-staging.git] / source / blender / editors / animation / drivers.c
index d7d3c21607f5e58d246f75c0e7e8623fdf6dd28b..bc7005b82c4047c62d665290b3bfda4b6adcb0d7 100644 (file)
@@ -411,11 +411,11 @@ static int add_driver_button_exec (bContext *C, wmOperator *op)
        return (success)? OPERATOR_FINISHED: OPERATOR_CANCELLED;
 }
 
-void ANIM_OT_add_driver_button (wmOperatorType *ot)
+void ANIM_OT_driver_button_add (wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Add Driver";
-       ot->idname= "ANIM_OT_add_driver_button";
+       ot->idname= "ANIM_OT_driver_button_add";
        ot->description= "Add driver(s) for the property(s) connected represented by the highlighted button.";
        
        /* callbacks */
@@ -475,11 +475,11 @@ static int remove_driver_button_exec (bContext *C, wmOperator *op)
        return (success)? OPERATOR_FINISHED: OPERATOR_CANCELLED;
 }
 
-void ANIM_OT_remove_driver_button (wmOperatorType *ot)
+void ANIM_OT_driver_button_remove (wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Remove Driver";
-       ot->idname= "ANIM_OT_remove_driver_button";
+       ot->idname= "ANIM_OT_driver_button_remove";
        ot->description= "Remove the driver(s) for the property(s) connected represented by the highlighted button.";
        
        /* callbacks */