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:
authorAndrea Weikert <elubie@gmx.net>2009-01-06 17:42:54 +0300
committerAndrea Weikert <elubie@gmx.net>2009-01-06 17:42:54 +0300
commitb1cb844e0539376cb41cd15bf802aea62848b90a (patch)
tree5e67be9915d4a76afd9e894cc2e0783d439c41be /source/blender/windowmanager/intern/wm_init_exit.c
parent10e6566aebec1c1c623cd88c3887db7c113d5af9 (diff)
2.5 - Start of filebrowser.
- basic drawing of list and thumbnail view (switchable through 'favourits' icon in header) - selection of files and directories (bookmarks) works with the RMB (right mouse button) - load operator for files still unstable (no check for correct file type) and incomplete. (WM_operator_free missing) immediate TODOS: - fix load file operator - finish drawing of buttons in header - drawing of detailed list with all file info. - finish selection and execute operators (LMB and MMB execute) later todos: - parent dir - keymap for all the shortcuts - append/link and databrowse - ...
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();