diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-01-27 14:29:45 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-01-27 14:30:00 +0300 |
commit | 9e48f010c41de37cd835fdfe9597c732fc29768d (patch) | |
tree | 5744f50f7bbfc136169b35b9b9f517487ae1e3d1 /source/blender/editors/space_sequencer/sequencer_edit.c | |
parent | d9c77a490cc5ed9dde396022cd6800e78057cc2b (diff) |
Proxy job: make user cancelling actually matter
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_edit.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_edit.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index 5f9900d10e3..42c81a30c29 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -146,11 +146,12 @@ static void proxy_startjob(void *pjv, short *stop, short *do_update, float *prog struct SeqIndexBuildContext *context = link->data; BKE_sequencer_proxy_rebuild(context, stop, do_update, progress); - } - - if (*stop) { - pj->stop = 1; - fprintf(stderr, "Canceling proxy rebuild on users request...\n"); + + if (*stop) { + pj->stop = 1; + fprintf(stderr, "Canceling proxy rebuild on users request...\n"); + break; + } } } |