diff options
author | Andrea Weikert <elubie@gmx.net> | 2005-10-25 00:52:51 +0400 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2005-10-25 00:52:51 +0400 |
commit | 76b7d3b402cdab298616a1b19ae23ca7cf6f6fdc (patch) | |
tree | 4a8de1c551cb0d23bf90ef338e53bb2f052f8c2d /source/blender/src/editseq.c | |
parent | ce89799d3610329aed47dbde7ffb34d81c2c613b (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.c | 6 |
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) |