Bug #4382
When Blender tries to open a non-existing file, two error popups were called. Very annoying. Was simple one-liner fix; the 'read exotic' function should return a -1 when file doesn't exist. :)
This commit is contained in:
@@ -2362,6 +2362,7 @@ int BKE_read_exotic(char *name)
|
||||
|
||||
if (NULL == gzfile ) {
|
||||
error("Can't open file: %s", name);
|
||||
retval= -1;
|
||||
} else {
|
||||
gzread(gzfile, str, 31);
|
||||
gzclose(gzfile);
|
||||
|
||||
Reference in New Issue
Block a user