bugfix introduced in own commit 15055 - [#13621] Cloth cache files are in same directory as .blend

This commit is contained in:
Campbell Barton
2008-06-05 10:43:53 +00:00
parent c8e19a6b25
commit ded6a1c2e7

View File

@@ -185,8 +185,8 @@ static int ptcache_path(PTCacheID *pid, char *filename)
file[i-6] = '\0';
sprintf(filename, "//"PTCACHE_PATH"%s", file); /* add blend file name to pointcache dir */
BLI_add_slash(filename);
BLI_convertstringcode(filename, blendfilename);
BLI_add_slash(filename);
return strlen(filename);
}