bugfix for 5572, BLI_makestringcode was being used to join 2 paths, but adding c:\ to the start of a non root dir. it wold be nice to have a BLI_join_path for this to avoid #ifdef WIN32's in the main code and to check for existing slashes
This commit is contained in:
@@ -836,7 +836,7 @@ static int bpymenu_ParseDir(char *dirname, char *parentdir, int is_userdir )
|
||||
if ((de->d_name[0] == '.') || !strncmp(de->d_name, "bpy", 3)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
BLI_make_file_string("/", path, dirname, de->d_name);
|
||||
|
||||
if (stat(path, &status) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user