Bugfix [#8328] Python scripts from user defined location doesn't load
http://projects.blender.org/tracker/index.php?func=detail&aid=8328&group_id=9&atid=125 last commit had mistakes but tested this to fix the bug. - Cam
This commit is contained in:
parent
b226eb925b
commit
086e8b9b8f
@ -119,6 +119,8 @@ void BLI_del_slash(char *string) {
|
||||
#endif
|
||||
string[len-1] = '\0';
|
||||
len--;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -938,7 +938,7 @@ static int bpymenu_GetStatMTime( const char *name, int is_file, time_t * mtime )
|
||||
struct stat st;
|
||||
int result;
|
||||
|
||||
#ifdef win32
|
||||
#ifdef WIN32
|
||||
if (is_file) {
|
||||
result = stat( name, &st );
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user