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:
authorHarley Acheson <harley.acheson@gmail.com>2019-11-27 02:53:07 +0300
committerHarley Acheson <harley.acheson@gmail.com>2019-11-27 02:53:07 +0300
commit7af560438966c5b3f7a0203fefd8bbad80d201c9 (patch)
treec719a183d96458f58a8e95ea1262f02d10c1940b /source/blender/editors/space_file
parentb213d82c19c5b677df699debc683b57349185714 (diff)
Fix T69530: Do Not Refresh Bookmarks While Moving File Browser
Improve laggy performance while moving File Browser by not refreshing fsMenu lists in its init. Differential Revision: https://developer.blender.org/D6112 Reviewed by Bastien Montagne
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r--source/blender/editors/space_file/space_file.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index d63fcf402de..7c464cda7a8 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -176,13 +176,6 @@ static void file_free(SpaceLink *sl)
static void file_init(wmWindowManager *wm, ScrArea *sa)
{
SpaceFile *sfile = (SpaceFile *)sa->spacedata.first;
- struct FSMenu *fsmenu = ED_fsmenu_get();
-
- /* refresh system directory list */
- fsmenu_refresh_system_category(fsmenu);
-
- /* Update bookmarks 'valid' state. */
- fsmenu_refresh_bookmarks_status(wm, fsmenu);
if (sfile->layout) {
sfile->layout->dirty = true;