- 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.
This commit is contained in:
2009-03-29 06:13:15 +00:00
parent b450313b8d
commit 03144fd57a
5 changed files with 10 additions and 10 deletions

View 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);

View 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);

View 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 */

View 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 **********************/

View 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..