diff options
Diffstat (limited to 'source/blender/editors/animation/anim_ops.c')
-rw-r--r-- | source/blender/editors/animation/anim_ops.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c index 5b246e63a20..05a7a263e08 100644 --- a/source/blender/editors/animation/anim_ops.c +++ b/source/blender/editors/animation/anim_ops.c @@ -161,18 +161,18 @@ static int change_frame_modal(bContext *C, wmOperator *op, wmEvent *event) static void ANIM_OT_change_frame(wmOperatorType *ot) { /* identifiers */ - ot->name= "Change frame"; - ot->idname= "ANIM_OT_change_frame"; - ot->description= "Interactively change the current frame number"; + ot->name = "Change frame"; + ot->idname = "ANIM_OT_change_frame"; + ot->description = "Interactively change the current frame number"; /* api callbacks */ - ot->exec= change_frame_exec; - ot->invoke= change_frame_invoke; - ot->modal= change_frame_modal; - ot->poll= change_frame_poll; + ot->exec = change_frame_exec; + ot->invoke = change_frame_invoke; + ot->modal = change_frame_modal; + ot->poll = change_frame_poll; /* flags */ - ot->flag= OPTYPE_BLOCKING|OPTYPE_UNDO; + ot->flag = OPTYPE_BLOCKING|OPTYPE_UNDO; /* rna */ RNA_def_int(ot->srna, "frame", 0, MINAFRAME, MAXFRAME, "Frame", "", MINAFRAME, MAXFRAME); @@ -216,20 +216,20 @@ static int previewrange_define_exec(bContext *C, wmOperator *op) static void ANIM_OT_previewrange_set(wmOperatorType *ot) { /* identifiers */ - ot->name= "Set Preview Range"; - ot->idname= "ANIM_OT_previewrange_set"; - ot->description= "Interactively define frame range used for playback"; + ot->name = "Set Preview Range"; + ot->idname = "ANIM_OT_previewrange_set"; + ot->description = "Interactively define frame range used for playback"; /* api callbacks */ - ot->invoke= WM_border_select_invoke; - ot->exec= previewrange_define_exec; - ot->modal= WM_border_select_modal; - ot->cancel= WM_border_select_cancel; + ot->invoke = WM_border_select_invoke; + ot->exec = previewrange_define_exec; + ot->modal = WM_border_select_modal; + ot->cancel = WM_border_select_cancel; - ot->poll= ED_operator_animview_active; + ot->poll = ED_operator_animview_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* rna */ /* used to define frame range */ @@ -264,17 +264,17 @@ static int previewrange_clear_exec(bContext *C, wmOperator *UNUSED(op)) static void ANIM_OT_previewrange_clear(wmOperatorType *ot) { /* identifiers */ - ot->name= "Clear Preview Range"; - ot->idname= "ANIM_OT_previewrange_clear"; - ot->description= "Clear Preview Range"; + ot->name = "Clear Preview Range"; + ot->idname = "ANIM_OT_previewrange_clear"; + ot->description = "Clear Preview Range"; /* api callbacks */ - ot->exec= previewrange_clear_exec; + ot->exec = previewrange_clear_exec; - ot->poll= ED_operator_animview_active; + ot->poll = ED_operator_animview_active; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } /* ************************** registration **********************************/ |