Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/screen/screen_ops.c
| Show First 20 Lines • Show All 4,440 Lines • ▼ Show 20 Lines | if (scene->r.cfra > region->v2d.cur.xmax) { | ||||
| ED_region_tag_redraw(region); | ED_region_tag_redraw(region); | ||||
| return; | return; | ||||
| } | } | ||||
| } | } | ||||
| /* No need to do a full redraw as the current frame indicator is only updated. | /* No need to do a full redraw as the current frame indicator is only updated. | ||||
| * We do need to redraw when this area is in full screen as no other areas | * We do need to redraw when this area is in full screen as no other areas | ||||
| * will be tagged for redrawing. */ | * will be tagged for redrawing. */ | ||||
| if ((region->regiontype == RGN_TYPE_WINDOW) && | if (region->regiontype == RGN_TYPE_WINDOW && !area->full) { | ||||
| (ELEM(area->spacetype, SPACE_GRAPH, SPACE_NLA, SPACE_ACTION)) && !area->full) { | if (ELEM(area->spacetype, SPACE_GRAPH, SPACE_NLA, SPACE_ACTION)) { | ||||
| return; | return; | ||||
| } | } | ||||
| if (area->spacetype == SPACE_SEQ) { | |||||
| if (!ED_space_sequencer_has_visible_animation_on_strip(scene)) { | |||||
| return; | |||||
| } | |||||
| } | |||||
| } | |||||
| ED_region_tag_redraw(region); | ED_region_tag_redraw(region); | ||||
| } | } | ||||
| //#define PROFILE_AUDIO_SYNCH | //#define PROFILE_AUDIO_SYNCH | ||||
| static int screen_animation_step_invoke(bContext *C, wmOperator *UNUSED(op), const wmEvent *event) | static int screen_animation_step_invoke(bContext *C, wmOperator *UNUSED(op), const wmEvent *event) | ||||
| { | { | ||||
| bScreen *screen = CTX_wm_screen(C); | bScreen *screen = CTX_wm_screen(C); | ||||
| ▲ Show 20 Lines • Show All 1,198 Lines • Show Last 20 Lines | |||||