Fixed very old annoyance;
If the startup file ".Blanguages" is not found, Blender now will only printf a warning if started in debug mode (-d). It used to popup a menu, even before the UI was initialized, causing annoyance... it's irrelevant info.
This commit is contained in:
@@ -370,8 +370,8 @@ int read_languagefile(void)
|
||||
strcpy(name, ".Blanguages");
|
||||
lines= BLI_read_file_as_lines(name);
|
||||
if(lines == NULL) {
|
||||
error("File \".Blanguages\" not found");
|
||||
return 0;
|
||||
if(G.f & G_DEBUG) printf("File .Blanguages not found\n");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user