- renamed CURVE_OT_select_inverse -> CURVE_OT_select_invert
authorCampbell Barton <ideasman42@gmail.com>
Sun, 29 Mar 2009 06:13:15 +0000 (06:13 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 29 Mar 2009 06:13:15 +0000 (06:13 +0000)
- TEXT_OT_scroll_bar and TEXT_OT_scroll ops had the lines property default/min/max args swapped around.

source/blender/editors/curve/curve_intern.h
source/blender/editors/curve/curve_ops.c
source/blender/editors/curve/editcurve.c
source/blender/editors/space_text/text_ops.c
source/blender/editors/space_view3d/view3d_header.c

index 000a07511b9d7f31f5f1cf61e58559d41e27d9b6..71684ceae7a27322a95d77cf8eb6b179ca3a98c8 100644 (file)
@@ -85,7 +85,7 @@ void CURVE_OT_smooth_radius(struct wmOperatorType *ot);
 void CURVE_OT_de_select_first(struct wmOperatorType *ot);
 void CURVE_OT_de_select_last(struct wmOperatorType *ot);
 void CURVE_OT_select_all_toggle(struct wmOperatorType *ot);
-void CURVE_OT_select_inverse(struct wmOperatorType *ot);
+void CURVE_OT_select_invert(struct wmOperatorType *ot);
 void CURVE_OT_select_linked(struct wmOperatorType *ot);
 void CURVE_OT_select_row(struct wmOperatorType *ot);
 void CURVE_OT_select_next(struct wmOperatorType *ot);
index 45057aad40509de2ab0828253eb5e030d754b8ab..a0390fe1084aa1792476946403ca288848bbfb88 100644 (file)
@@ -139,7 +139,7 @@ void ED_operatortypes_curve(void)
        WM_operatortype_append(CURVE_OT_de_select_first);
        WM_operatortype_append(CURVE_OT_de_select_last);
        WM_operatortype_append(CURVE_OT_select_all_toggle);
-       WM_operatortype_append(CURVE_OT_select_inverse);
+       WM_operatortype_append(CURVE_OT_select_invert);
        WM_operatortype_append(CURVE_OT_select_linked);
        WM_operatortype_append(CURVE_OT_select_row);
        WM_operatortype_append(CURVE_OT_select_next);
index 16c39ef34a7b16a2d9a09f2c8af2eb3f32064802..ce639e4bfc1f1530d83612839ef49824a5a3791f 100644 (file)
@@ -1741,7 +1741,7 @@ void CURVE_OT_reveal(wmOperatorType *ot)
 
 /********************** select invert operator *********************/
 
-static int select_inverse_exec(bContext *C, wmOperator *op)
+static int select_invert_exec(bContext *C, wmOperator *op)
 {
        Object *obedit= CTX_data_edit_object(C);
        ListBase *editnurb= curve_get_editcurve(obedit);
@@ -1780,14 +1780,14 @@ static int select_inverse_exec(bContext *C, wmOperator *op)
        return OPERATOR_FINISHED;       
 }
 
-void CURVE_OT_select_inverse(wmOperatorType *ot)
+void CURVE_OT_select_invert(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select Inverse";
-       ot->idname= "CURVE_OT_select_inverse";
+       ot->name= "Select Invert";
+       ot->idname= "CURVE_OT_select_invert";
        
        /* api callbacks */
-       ot->exec= select_inverse_exec;
+       ot->exec= select_invert_exec;
        ot->poll= ED_operator_editsurfcurve;
        
        /* flags */
index fb1fed6b175ceeb2b84448620dbfd8571ee6ee9d..c7fe02975efe56894b8c591da9a35422fe42107d 100644 (file)
@@ -1737,7 +1737,7 @@ void TEXT_OT_scroll(wmOperatorType *ot)
        ot->poll= text_space_edit_poll;
 
        /* properties */
-       RNA_def_int(ot->srna, "lines", INT_MIN, INT_MAX, 1, "Lines", "Number of lines to scroll.", -100, 100);
+       RNA_def_int(ot->srna, "lines", 1, INT_MIN, INT_MAX, "Lines", "Number of lines to scroll.", -100, 100);
 }
 
 /******************** scroll bar operator *******************/
@@ -1781,7 +1781,7 @@ void TEXT_OT_scroll_bar(wmOperatorType *ot)
        ot->poll= text_region_edit_poll;
 
        /* properties */
-       RNA_def_int(ot->srna, "lines", INT_MIN, INT_MAX, 1, "Lines", "Number of lines to scroll.", -100, 100);
+       RNA_def_int(ot->srna, "lines", 1, INT_MIN, INT_MAX, "Lines", "Number of lines to scroll.", -100, 100);
 }
 
 /******************* set cursor operator **********************/
index e9262a24b5e6ad1e2afec64f0e7a95cc4f195f95..45c29552fc75e15f1e0be20fa80c1e0761e21151 100644 (file)
@@ -1218,7 +1218,7 @@ static void view3d_select_curvemenu(bContext *C, uiMenuItem *head, void *arg_unu
        uiMenuSeparator(head);
 
        uiMenuItemO(head, 0, "CURVE_OT_select_all_toggle");
-       uiMenuItemO(head, 0, "CURVE_OT_select_inverse");
+       uiMenuItemO(head, 0, "CURVE_OT_select_invert");
        uiMenuItemO(head, 0, "CURVE_OT_select_random"); // Random...
        uiMenuItemO(head, 0, "CURVE_OT_select_every_nth"); // Every Nth..