diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-03-29 10:13:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-03-29 10:13:15 +0400 |
commit | 03144fd57a818ec32f15f162e07ec884ee9f5f9b (patch) | |
tree | 7bd2562b739c75079e22bcd016072aa19d5ec585 /source/blender/editors | |
parent | b450313b8da2b9844a83f2006ebb50d328c367e9 (diff) |
- renamed CURVE_OT_select_inverse -> CURVE_OT_select_invert
- TEXT_OT_scroll_bar and TEXT_OT_scroll ops had the lines property default/min/max args swapped around.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/curve/curve_intern.h | 2 | ||||
-rw-r--r-- | source/blender/editors/curve/curve_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 10 | ||||
-rw-r--r-- | source/blender/editors/space_text/text_ops.c | 4 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_header.c | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/editors/curve/curve_intern.h b/source/blender/editors/curve/curve_intern.h index 000a07511b9..71684ceae7a 100644 --- a/source/blender/editors/curve/curve_intern.h +++ b/source/blender/editors/curve/curve_intern.h @@ -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); diff --git a/source/blender/editors/curve/curve_ops.c b/source/blender/editors/curve/curve_ops.c index 45057aad405..a0390fe1084 100644 --- a/source/blender/editors/curve/curve_ops.c +++ b/source/blender/editors/curve/curve_ops.c @@ -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); diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index 16c39ef34a7..ce639e4bfc1 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -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 */ diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index fb1fed6b175..c7fe02975ef 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -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 **********************/ diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c index e9262a24b5e..45c29552fc7 100644 --- a/source/blender/editors/space_view3d/view3d_header.c +++ b/source/blender/editors/space_view3d/view3d_header.c @@ -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.. |