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,7 +370,7 @@ int read_languagefile(void)
|
|||||||
strcpy(name, ".Blanguages");
|
strcpy(name, ".Blanguages");
|
||||||
lines= BLI_read_file_as_lines(name);
|
lines= BLI_read_file_as_lines(name);
|
||||||
if(lines == NULL) {
|
if(lines == NULL) {
|
||||||
error("File \".Blanguages\" not found");
|
if(G.f & G_DEBUG) printf("File .Blanguages not found\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user