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-03-26 20:25:06 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-03-26 20:25:25 +0300
commitd26c18c05ecfd23bb107ac904189b2b50c08ebc0 (patch)
treef0a74cc964d9bef81458317a1b9b36c1b4c10942 /source/blender/blenkernel
parent4c7876c7408836fd22e076dc9a4b54216afc6f2e (diff)
Project directory proxies:
Use BL_proxy if directory is blank to avoid filling the whole folder with files.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/sequencer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index ec78e155d98..1e32c586176 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -1370,7 +1370,7 @@ static void seq_open_anim_file(Editing *ed, Sequence *seq, bool openfile)
if (ed->proxy_storage == SEQ_EDIT_PROXY_DIR_STORAGE) {
if (ed->proxy_dir[0] == 0)
- BLI_strncpy(dir, "//", sizeof(dir));
+ BLI_strncpy(dir, "//BL_proxy", sizeof(dir));
else
BLI_strncpy(dir, ed->proxy_dir, sizeof(dir));
}
@@ -1409,7 +1409,7 @@ static bool seq_proxy_get_fname(Editing *ed, Sequence *seq, int cfra, int render
if (seq->anim && ed->proxy_storage == SEQ_EDIT_PROXY_DIR_STORAGE) {
char fname[FILE_MAXFILE];
if (ed->proxy_dir[0] == 0)
- BLI_strncpy(dir, "//", sizeof(dir));
+ BLI_strncpy(dir, "//BL_proxy", sizeof(dir));
else
BLI_strncpy(dir, ed->proxy_dir, sizeof(dir));
IMB_anim_get_fname(seq->anim, fname, FILE_MAXFILE);