Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-03-01 18:29:01 +0300
committerTon Roosendaal <ton@blender.org>2005-03-01 18:29:01 +0300
commita7afceb62231debca3d820bbfbdc562d6b276546 (patch)
tree2d26693284c1746edb7dba782e5f52e3e346d696 /source
parentbd874641a92cd5df46c5797fadecb2745cf347b3 (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')
-rw-r--r--source/blender/src/language.c4
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;
}
}
}