diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-04-08 19:36:55 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-04-08 19:44:38 +0300 |
commit | a19aa090d2e6504ba1a0b7b5aad045d4d583d3ea (patch) | |
tree | 13d5917dfd9211301ad0383b8b0d8db560af6ebb /source | |
parent | 18dca6911b83a73c95676e77b2311a6dddef2aaf (diff) |
VSE: Fix building image proxies
Broken by 04e1feb83051
Caused by accidentaly moving `SEQ_proxy_rebuild_finish` outside of
`if (nseq->type == SEQ_TYPE_MOVIE)` condition in function
`SEQ_proxy_rebuild_context()`.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/sequencer/intern/proxy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/sequencer/intern/proxy.c b/source/blender/sequencer/intern/proxy.c index a0e6bc7f4f1..14667c53421 100644 --- a/source/blender/sequencer/intern/proxy.c +++ b/source/blender/sequencer/intern/proxy.c @@ -472,10 +472,10 @@ bool SEQ_proxy_rebuild_context(Main *bmain, context->quality, context->overwrite, file_list); - } - if (!context->index_context) { - SEQ_proxy_rebuild_finish(context, false); - return false; + if (!context->index_context) { + MEM_freeN(context); + return false; + } } link = BLI_genericNodeN(context); |