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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user