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/space_time/time_ops.c | 36 ++++++++++++++-------------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'source/blender/editors/space_time/time_ops.c') diff --git a/source/blender/editors/space_time/time_ops.c b/source/blender/editors/space_time/time_ops.c index 78d903a2997..ef0356d648e 100644 --- a/source/blender/editors/space_time/time_ops.c +++ b/source/blender/editors/space_time/time_ops.c @@ -75,16 +75,16 @@ static int time_set_sfra_exec (bContext *C, wmOperator *UNUSED(op)) static void TIME_OT_start_frame_set (wmOperatorType *ot) { /* identifiers */ - ot->name= "Set Start Frame"; - ot->idname= "TIME_OT_start_frame_set"; - ot->description="Set the start frame"; + ot->name = "Set Start Frame"; + ot->idname = "TIME_OT_start_frame_set"; + ot->description = "Set the start frame"; /* api callbacks */ - ot->exec= time_set_sfra_exec; - ot->poll= ED_operator_timeline_active; + ot->exec = time_set_sfra_exec; + ot->poll = ED_operator_timeline_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } @@ -117,16 +117,16 @@ static int time_set_efra_exec (bContext *C, wmOperator *UNUSED(op)) static void TIME_OT_end_frame_set (wmOperatorType *ot) { /* identifiers */ - ot->name= "Set End Frame"; - ot->idname= "TIME_OT_end_frame_set"; - ot->description="Set the end frame"; + ot->name = "Set End Frame"; + ot->idname = "TIME_OT_end_frame_set"; + ot->description = "Set the end frame"; /* api callbacks */ - ot->exec= time_set_efra_exec; - ot->poll= ED_operator_timeline_active; + ot->exec = time_set_efra_exec; + ot->poll = ED_operator_timeline_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } /* ************************ View All Operator *******************************/ @@ -159,16 +159,16 @@ static int time_view_all_exec (bContext *C, wmOperator *UNUSED(op)) static void TIME_OT_view_all (wmOperatorType *ot) { /* identifiers */ - ot->name= "View All"; - ot->idname= "TIME_OT_view_all"; - ot->description= "Show the entire playable frame range"; + ot->name = "View All"; + ot->idname = "TIME_OT_view_all"; + ot->description = "Show the entire playable frame range"; /* api callbacks */ - ot->exec= time_view_all_exec; - ot->poll= ED_operator_timeline_active; + ot->exec = time_view_all_exec; + ot->poll = ED_operator_timeline_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } /* ************************** registration **********************************/ -- cgit v1.2.3