[Bf-blender-cvs] [d26c18c] master: Project directory proxies:

Antony Riakiotakis noreply at git.blender.org
Thu Mar 26 18:25:42 CET 2015


Commit: d26c18c05ecfd23bb107ac904189b2b50c08ebc0
Author: Antony Riakiotakis
Date:   Thu Mar 26 18:25:06 2015 +0100
Branches: master
https://developer.blender.org/rBd26c18c05ecfd23bb107ac904189b2b50c08ebc0

Project directory proxies:

Use BL_proxy if directory is blank to avoid filling the whole folder
with files.

===================================================================

M	source/blender/blenkernel/intern/sequencer.c

===================================================================

diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index ec78e15..1e32c58 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);




More information about the Bf-blender-cvs mailing list