Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/screen/screen_edit.c
| Show First 20 Lines • Show All 1,656 Lines • ▼ Show 20 Lines | if (enable) { | ||||
| } | } | ||||
| sad->from_anim_edit = (ELEM(spacetype, SPACE_GRAPH, SPACE_ACTION, SPACE_NLA)); | sad->from_anim_edit = (ELEM(spacetype, SPACE_GRAPH, SPACE_ACTION, SPACE_NLA)); | ||||
| screen->animtimer->customdata = sad; | screen->animtimer->customdata = sad; | ||||
| } | } | ||||
| /* Seek audio to ensure playback in preview range with AV sync. */ | /* Seek audio to ensure playback in preview range with AV sync. */ | ||||
| DEG_id_tag_update(&scene->id, ID_RECALC_AUDIO_SEEK); | DEG_id_tag_update(&scene->id, ID_RECALC_FRAME_CHANGE); | ||||
| /* Notifier caught by top header, for button. */ | /* Notifier caught by top header, for button. */ | ||||
| WM_event_add_notifier(C, NC_SCREEN | ND_ANIMPLAY, NULL); | WM_event_add_notifier(C, NC_SCREEN | ND_ANIMPLAY, NULL); | ||||
| } | } | ||||
| /* helper for screen_animation_play() - only to be used for TimeLine */ | /* helper for screen_animation_play() - only to be used for TimeLine */ | ||||
| static ARegion *time_top_left_3dwindow(bScreen *screen) | static ARegion *time_top_left_3dwindow(bScreen *screen) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 184 Lines • Show Last 20 Lines | |||||