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
diff options
context:
space:
mode:
authorXiao Xiangquan <xiaoxiangquan@gmail.com>2011-08-16 20:58:35 +0400
committerXiao Xiangquan <xiaoxiangquan@gmail.com>2011-08-16 20:58:35 +0400
commit18d95a8462a7b6386becfecb962657022afdb82b (patch)
tree2ed0077afa066b0e03862c97352a7476799bd20b /source/blender/windowmanager
parent5293b4f498c3b3a851cc69850a4e131b0788089c (diff)
fix a small bug , and update language-packs
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index ce959a7e870..4c1f44eedc4 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -498,7 +498,10 @@ int WM_read_homefile(bContext *C, ReportList *reports, short from_memory, ListBa
return TRUE;
}
-/* split from the old WM_read_homefile */
+/* split from the old WM_read_homefile, as the locale setting should
+ * be called after loading user preference, while the
+ * WM_read_homefile_proc may need i18n support. So we split them, and
+ * insert locale setting steps */
int WM_read_homefile_proc(bContext *C, ListBase *wmbase)
{
/* prevent buggy files that had G_FILE_RELATIVE_REMAP written out by mistake. Screws up autosaves otherwise