Fix for item #3316 : make sure that BLI_make_file_string converts all

slashes in the filenames to the system preferred direction.
Leaving unix slashes caused the error in the Python module
blender.Get('filename')
This commit is contained in:
Andrea Weikert
2005-11-01 20:25:23 +00:00
parent 2cf66f90c5
commit 6eb47e98c3

View File

@@ -727,6 +727,10 @@ void BLI_make_file_string(char *relabase, char *string, char *dir, char *file)
/* Push all slashes to the system preferred direction */
BLI_clean(string);
/* also for all the other dirs where we changed the slashes */
BLI_clean(relabase);
BLI_clean(dir);
BLI_clean(file);
}
int BLI_testextensie(char *str, char *ext)