diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-05-15 17:20:14 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-05-15 17:26:47 +0300 |
commit | 6dceafbde392ce0b2c2086d0906acf638d9902b2 (patch) | |
tree | 847238fb41b443f7e8ae4f1c77ea4e2874daea61 /source/blender/editors/space_file/fsmenu.h | |
parent | e39737f166bd8498c3759675bb5457c2bf58f07f (diff) |
Fix T63748: Long startups after network drives are disconnected.
We need to make those paths validation async, since some infamous OS is
unable to provide a quick way to check whether a path is valid or not...
Not much to say here, this is basic wmJob stuff really... We don’t even
need complex threaded coordination locks or atomics, given how simple
the changes are here.
Fake-tested with some `sleep()` calls to add atificial delay, seems to
work as expected.
Diffstat (limited to 'source/blender/editors/space_file/fsmenu.h')
-rw-r--r-- | source/blender/editors/space_file/fsmenu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/fsmenu.h b/source/blender/editors/space_file/fsmenu.h index cb0dccf0499..d9850cb855d 100644 --- a/source/blender/editors/space_file/fsmenu.h +++ b/source/blender/editors/space_file/fsmenu.h @@ -68,7 +68,7 @@ void fsmenu_free(void); void fsmenu_refresh_system_category(struct FSMenu *fsmenu); /** Refresh 'valid' status of all menu entries */ -void fsmenu_refresh_bookmarks_status(struct FSMenu *fsmenu); +void fsmenu_refresh_bookmarks_status(struct wmWindowManager *wm, struct FSMenu *fsmenu); /** Get active index based on given directory. */ int fsmenu_get_active_indices(struct FSMenu *fsmenu, |