Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-01-30 18:00:30 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-01-30 18:00:30 +0300
commitb58b182753e50aa10a1e5c7d152d5787aae433e0 (patch)
treec51a8c3c13691f684b2c823f021a5518b2959abd /source/blender/editors/space_clip
parentf7e8da6f5a5353c20a229e74d768384b5b1e5794 (diff)
Get rid of the file touch hack.
If user cancels, there's an issue with leftover files. Instead use a hash to record files that have akready been registered for generation and skip them if so. That should guarantee things will go smoothly and when a file exists it is assumed to be valid.
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/clip_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c
index 231677688ad..b99b23c60d3 100644
--- a/source/blender/editors/space_clip/clip_ops.c
+++ b/source/blender/editors/space_clip/clip_ops.c
@@ -1343,7 +1343,7 @@ static int clip_rebuild_proxy_exec(bContext *C, wmOperator *UNUSED(op))
if (clip->anim) {
pj->index_context = IMB_anim_index_rebuild_context(clip->anim, clip->proxy.build_tc_flag,
clip->proxy.build_size_flag, clip->proxy.quality,
- true);
+ true, NULL);
}
WM_jobs_customdata_set(wm_job, pj, proxy_freejob);