diff options
author | Ton Roosendaal <ton@blender.org> | 2005-03-01 18:29:01 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-03-01 18:29:01 +0300 |
commit | a7afceb62231debca3d820bbfbdc562d6b276546 (patch) | |
tree | 2d26693284c1746edb7dba782e5f52e3e346d696 /source/blender | |
parent | bd874641a92cd5df46c5797fadecb2745cf347b3 (diff) |
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.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/src/language.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/language.c b/source/blender/src/language.c index 750483bf789..564f10fd20b 100644 --- a/source/blender/src/language.c +++ b/source/blender/src/language.c @@ -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; } } } |