Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/sequencer.c
| Show First 20 Lines • Show All 4,293 Lines • ▼ Show 20 Lines | for (Scene *scene = bmain->scenes.first; scene != NULL; scene = scene->id.next) { | ||||
| if (scene->ed != NULL) { | if (scene->ed != NULL) { | ||||
| invalidate_movieclip_strips(scene, clip_target, &scene->ed->seqbase); | invalidate_movieclip_strips(scene, clip_target, &scene->ed->seqbase); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| void BKE_sequencer_free_imbuf(Scene *scene, ListBase *seqbase, bool for_render) | void BKE_sequencer_free_imbuf(Scene *scene, ListBase *seqbase, bool for_render) | ||||
| { | { | ||||
| if (scene->ed == NULL) { | |||||
| return; | |||||
| } | |||||
| Sequence *seq; | Sequence *seq; | ||||
| BKE_sequencer_cache_cleanup(scene); | BKE_sequencer_cache_cleanup(scene); | ||||
| BKE_sequencer_prefetch_stop(scene); | BKE_sequencer_prefetch_stop(scene); | ||||
| for (seq = seqbase->first; seq; seq = seq->next) { | for (seq = seqbase->first; seq; seq = seq->next) { | ||||
| if (for_render && CFRA >= seq->startdisp && CFRA <= seq->enddisp) { | if (for_render && CFRA >= seq->startdisp && CFRA <= seq->enddisp) { | ||||
| continue; | continue; | ||||
| ▲ Show 20 Lines • Show All 1,733 Lines • Show Last 20 Lines | |||||