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/makesdna | |
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/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 9a495fbb43f..69affc74ed7 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -647,7 +647,8 @@ typedef struct FSMenuEntry { char *path; char name[256]; /* FILE_MAXFILE */ short save; - short pad[3]; + short valid; + short pad[2]; } FSMenuEntry; /* FileSelectParams.display */ |