diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-02-16 17:48:37 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-02-16 17:58:57 +0300 |
commit | 0dfdca6d132dd0b26307ab0c35be87f78da98022 (patch) | |
tree | afd84c26a68b34e6b9b160bfe28a283d8ae45b1a /source/blender/editors/space_file/file_ops.c | |
parent | fd4f0ed39e7b6482218af59f69187525d565ecf0 (diff) |
Fix T43684: File Browser is unusable on Windows Machines (do not BLI_is_dir() in draw loop!)
Did not had any issue on linux, but looks like on some windows can slow things as Hell.
Or maybe just the presence of some network FS?
Anyway, not a good idea, so now fsmenu entries' valid status is stored and only evaluated
on startup (reading of bookmarks & co) and when opening file browser (refresh, like
for system bookmarks).
Diffstat (limited to 'source/blender/editors/space_file/file_ops.c')
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 6cc4446274a..2a7e090b0d2 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -600,6 +600,7 @@ static int bookmark_cleanup_exec(bContext *C, wmOperator *UNUSED(op)) BLI_make_file_string("/", name, BKE_appdir_folder_id_create(BLENDER_USER_CONFIG, NULL), BLENDER_BOOKMARK_FILE); fsmenu_write_file(fsmenu, name); + fsmenu_refresh_bookmarks_status(fsmenu); ED_area_tag_refresh(sa); ED_area_tag_redraw(sa); } |