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:
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index 4bac829c80a..3bb49b60715 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -127,7 +127,9 @@ void WM_init(bContext *C)
set_blender_test_break_cb(wm_window_testbreak); /* blender.c */
ED_spacetypes_init(); /* editors/area/spacetype.c */
-
+
+ ED_file_init(); /* for fsmenu */
+
/* get the default database, plus a wm */
WM_read_homefile(C, 0);
@@ -141,8 +143,6 @@ void WM_init(bContext *C)
// XXX BIF_preview_init_dbase();
-// XXX UI_filelist_init_icons();
-
GPU_extensions_init();
G.ndofdevice = -1; /* XXX bad initializer, needs set otherwise buttons show! */
@@ -259,6 +259,8 @@ void WM_exit(bContext *C)
BKE_undo_save_quit(); // saves quit.blend if global undo is on
BKE_reset_undo();
+ ED_file_exit(); /* for fsmenu */
+
UI_exit();
BLI_freelistN(&U.themes);
// XXX BIF_preview_free_dbase();