Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_edit.c
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| ot->idname = "SEQUENCER_OT_view_frame"; | ot->idname = "SEQUENCER_OT_view_frame"; | ||||
| ot->description = "Reset viewable area to show range around current frame"; | ot->description = "Reset viewable area to show range around current frame"; | ||||
| /* api callbacks */ | /* api callbacks */ | ||||
| ot->exec = sequencer_view_frame_exec; | ot->exec = sequencer_view_frame_exec; | ||||
| ot->poll = ED_operator_sequencer_active; | ot->poll = ED_operator_sequencer_active; | ||||
| /* flags */ | /* flags */ | ||||
| ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ot->flag = OPTYPE_REGISTER; | ||||
| } | } | ||||
| /* view_all operator */ | /* view_all operator */ | ||||
| static int sequencer_view_all_preview_exec(bContext *C, wmOperator *UNUSED(op)) | static int sequencer_view_all_preview_exec(bContext *C, wmOperator *UNUSED(op)) | ||||
| { | { | ||||
| bScreen *sc = CTX_wm_screen(C); | bScreen *sc = CTX_wm_screen(C); | ||||
| ScrArea *area = CTX_wm_area(C); | ScrArea *area = CTX_wm_area(C); | ||||
| #if 0 | #if 0 | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||