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/blenlib/BLI_blenlib.h | |
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/blenlib/BLI_blenlib.h')
-rw-r--r-- | source/blender/blenlib/BLI_blenlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h index 0759a2f8865..a66285182ac 100644 --- a/source/blender/blenlib/BLI_blenlib.h +++ b/source/blender/blenlib/BLI_blenlib.h @@ -125,7 +125,7 @@ void BLI_splitdirstring(char *di,char *fi); */ int BLI_convertstringcode(char *path, char *basepath, int framenum); -void BLI_makestringcode(char *fromfile, char *str); +void BLI_makestringcode(const char *relfile, char *file); /** * Change every @a from in @a string into @a to. The |