Skip to content

Commit 1cf2659

Browse files
aras-pAras Pranckevicius
authored andcommitted
Fix #144254: VSE proxies for image sequences do not work
Broken with new 4.5 cache implementation; the loop for building image sequence proxies was not flushing the intra-frame cache between frame changes. This affects image proxies since they go through the whole VSE render stack; does not affect video proxies since they just manually decode the file frames. Pull Request: https://projects.blender.org/blender/blender/pulls/144269
1 parent 91ebf29 commit 1cf2659

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/blender/sequencer/intern/proxy.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include "SEQ_sequencer.hh"
4545
#include "SEQ_time.hh"
4646

47+
#include "cache/intra_frame_cache.hh"
4748
#include "multiview.hh"
4849
#include "proxy.hh"
4950
#include "render.hh"
@@ -563,6 +564,12 @@ void proxy_rebuild(IndexBuildContext *context, wmJobWorkerStatus *worker_status)
563564
timeline_frame < time_right_handle_frame_get(scene, strip);
564565
timeline_frame++)
565566
{
567+
intra_frame_cache_set_cur_frame(render_context.scene,
568+
timeline_frame,
569+
render_context.view_id,
570+
render_context.rectx,
571+
render_context.recty);
572+
566573
if (context->size_flags & IMB_PROXY_25) {
567574
seq_proxy_build_frame(&render_context, &state, strip, timeline_frame, 25, overwrite);
568575
}

0 commit comments

Comments
 (0)