diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-01-30 18:00:30 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-01-30 18:00:30 +0300 |
commit | b58b182753e50aa10a1e5c7d152d5787aae433e0 (patch) | |
tree | c51a8c3c13691f684b2c823f021a5518b2959abd /source/blender/imbuf/IMB_imbuf.h | |
parent | f7e8da6f5a5353c20a229e74d768384b5b1e5794 (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/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index b0250a142ff..17bb873cd98 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -86,6 +86,7 @@ struct anim; struct ColorManagedDisplay; +struct GSet; /** * * \attention Defined in allocimbuf.c @@ -243,7 +244,7 @@ struct IndexBuildContext; /* prepare context for proxies/imecodes builder */ struct IndexBuildContext *IMB_anim_index_rebuild_context(struct anim *anim, IMB_Timecode_Type tcs_in_use, IMB_Proxy_Size proxy_sizes_in_use, int quality, - const bool overwite); + const bool overwite, struct GSet *file_list); /* will rebuild all used indices and proxies at once */ void IMB_anim_index_rebuild(struct IndexBuildContext *context, |