From 4c3bb77012024a3f14181eafe850b4d68bca1191 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 22 Mar 2012 07:26:09 +0000 Subject: style cleanup: spaces aroudn operators for operator definitions. --- source/blender/editors/util/undo.c | 42 +++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'source/blender/editors/util/undo.c') diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c index d3049e97f9e..5478da31f7a 100644 --- a/source/blender/editors/util/undo.c +++ b/source/blender/editors/util/undo.c @@ -313,26 +313,26 @@ static int ed_redo_exec(bContext *C, wmOperator *UNUSED(op)) void ED_OT_undo(wmOperatorType *ot) { /* identifiers */ - ot->name= "Undo"; - ot->description= "Undo previous action"; - ot->idname= "ED_OT_undo"; + ot->name = "Undo"; + ot->description = "Undo previous action"; + ot->idname = "ED_OT_undo"; /* api callbacks */ - ot->exec= ed_undo_exec; - ot->poll= ED_operator_screenactive; + ot->exec = ed_undo_exec; + ot->poll = ED_operator_screenactive; } void ED_OT_undo_push(wmOperatorType *ot) { /* identifiers */ - ot->name= "Undo Push"; - ot->description= "Add an undo state (internal use only)"; - ot->idname= "ED_OT_undo_push"; + ot->name = "Undo Push"; + ot->description = "Add an undo state (internal use only)"; + ot->idname = "ED_OT_undo_push"; /* api callbacks */ - ot->exec= ed_undo_push_exec; + ot->exec = ed_undo_push_exec; - ot->flag= OPTYPE_INTERNAL; + ot->flag = OPTYPE_INTERNAL; RNA_def_string(ot->srna, "message", "Add an undo step *function may be moved*", MAXUNDONAME, "Undo Message", ""); } @@ -340,13 +340,13 @@ void ED_OT_undo_push(wmOperatorType *ot) void ED_OT_redo(wmOperatorType *ot) { /* identifiers */ - ot->name= "Redo"; - ot->description= "Redo previous action"; - ot->idname= "ED_OT_redo"; + ot->name = "Redo"; + ot->description = "Redo previous action"; + ot->idname = "ED_OT_redo"; /* api callbacks */ - ot->exec= ed_redo_exec; - ot->poll= ED_operator_screenactive; + ot->exec = ed_redo_exec; + ot->poll = ED_operator_screenactive; } @@ -549,14 +549,14 @@ static int undo_history_exec(bContext *C, wmOperator *op) void ED_OT_undo_history(wmOperatorType *ot) { /* identifiers */ - ot->name= "Undo History"; - ot->description= "Redo specific action in history"; - ot->idname= "ED_OT_undo_history"; + ot->name = "Undo History"; + ot->description = "Redo specific action in history"; + ot->idname = "ED_OT_undo_history"; /* api callbacks */ - ot->invoke= undo_history_invoke; - ot->exec= undo_history_exec; - ot->poll= ED_operator_screenactive; + ot->invoke = undo_history_invoke; + ot->exec = undo_history_exec; + ot->poll = ED_operator_screenactive; RNA_def_int(ot->srna, "item", 0, 0, INT_MAX, "Item", "", 0, INT_MAX); -- cgit v1.2.3