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:
authorAndrea Weikert <elubie@gmx.net>2005-10-25 00:52:51 +0400
committerAndrea Weikert <elubie@gmx.net>2005-10-25 00:52:51 +0400
commit76b7d3b402cdab298616a1b19ae23ca7cf6f6fdc (patch)
tree4a8de1c551cb0d23bf90ef338e53bb2f052f8c2d /source/blender/src/editseq.c
parentce89799d3610329aed47dbde7ffb34d81c2c613b (diff)
Fix for correct handling of relative filenames.
Now relative filenames that are not below the .blend file in the directory hierarchy can be used. CAUTION: The relative filenames are not updated if the blend file is moved to another dir or saved into another dir (save as) We will rely on the smartness of the users for this. my first official commit - thanks Ton!
Diffstat (limited to 'source/blender/src/editseq.c')
-rw-r--r--source/blender/src/editseq.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/src/editseq.c b/source/blender/src/editseq.c
index a4ccf3ea1bc..c6ee3bc76a9 100644
--- a/source/blender/src/editseq.c
+++ b/source/blender/src/editseq.c
@@ -95,7 +95,13 @@
#include "mydevice.h"
Sequence *last_seq=0;
+
+#ifdef WIN32
+char last_imagename[FILE_MAXDIR+FILE_MAXFILE]= "c:\\";
+#else
char last_imagename[FILE_MAXDIR+FILE_MAXFILE]= "/";
+#endif
+
char last_sounddir[FILE_MAXDIR+FILE_MAXFILE]= "";
#define SEQ_DESEL ~(SELECT+SEQ_LEFTSEL+SEQ_RIGHTSEL)