diff options
author | Andrea Weikert <elubie@gmx.net> | 2009-01-18 21:24:11 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2009-01-18 21:24:11 +0300 |
commit | 2c5bf52214cd9a1c17f84de31fd1a4deee327afc (patch) | |
tree | 0a5cc47d92aa59b37f664f5a5b8aa9626a6fb8eb /source/blender/editors/space_file/space_file.c | |
parent | 332517957de480414048d86e0b01499932214020 (diff) |
2.5 filebrowser
* slightly improved drawing code
* temporarily added creation of thumbnails within thread in the background until thread job manager is available in WM.
* fixed missing icons in thumbnail view
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r-- | source/blender/editors/space_file/space_file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index aa364bfb093..b0eb444d62b 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -246,12 +246,14 @@ void file_operatortypes(void) { WM_operatortype_append(ED_FILE_OT_select); WM_operatortype_append(ED_FILE_OT_select_bookmark); + WM_operatortype_append(ED_FILE_OT_loadimages); } void file_keymap(struct wmWindowManager *wm) { ListBase *keymap= WM_keymap_listbase(wm, "File", SPACE_FILE, 0); WM_keymap_add_item(keymap, "ED_FILE_OT_select", SELECTMOUSE, KM_PRESS, 0, 0); + WM_keymap_add_item(keymap, "ED_FILE_OT_loadimages", TIMER1, KM_ANY, KM_ANY, 0); keymap= WM_keymap_listbase(wm, "FileBookmark", SPACE_FILE, 0); WM_keymap_add_item(keymap, "ED_FILE_OT_select_bookmark", SELECTMOUSE, KM_PRESS, 0, 0); @@ -406,4 +408,4 @@ void ED_file_exit(void) { fsmenu_free(); filelist_free_icons(); -}
\ No newline at end of file +} |