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!
This commit is contained in:
2005-10-24 20:52:51 +00:00
parent ce89799d36
commit 76b7d3b402
4 changed files with 67 additions and 22 deletions

View File

@@ -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