Blender Git Loki
Git Commits -> Revision d8bdd44
Revision d8bdd44 by Sergey Sharybin (master) February 29, 2012, 12:08 (GMT) |
Refactor of proxies build operators Split proxy build operator into three parts: - Prepare context (IMB_anim_index_rebuild_context) which prepares all needed data and stores it in an anonymous structure used by specific builder lately. - Build proxies/timecodes into temporary files (IMB_anim_index_rebuild) This function will build all selected proxies/timecodes into a temporary files so old proxies will be still available during building. - Finish building proxies (IMB_anim_index_rebuild_finish) which copies temporary files over old proxies filed and releases all resources used by a context. Context creation and finishing building happens in a main thread so it's easy and safe to close all opened handles of proxies files and refresh cache after rebuilding is finished. This should finally fix #30315: Temporary proxy files are not erased and old proxys are not updated if the proxy is built more then once (windows) |
Commit Details:
Full Hash: d8bdd4497eec824a522062c4a8b597ef25395d63
SVN Revision: 44545
Parent Commit: 31cd052
Lines Changed: +380, -226
7 Modified Paths:
/source/blender/blenkernel/BKE_sequencer.h (+5, -2) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+73, -28) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+30, -6) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+32, -51) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+11, -4) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+4, -0) (Diff)
/source/blender/imbuf/intern/indexer.c (+225, -135) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+73, -28) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+30, -6) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+32, -51) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+11, -4) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+4, -0) (Diff)
/source/blender/imbuf/intern/indexer.c (+225, -135) (Diff)