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:
authorCampbell Barton <ideasman42@gmail.com>2010-05-14 11:21:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-05-14 11:21:29 +0400
commit02b8d3ca0f1763922140a76d8d41e38b089e37fb (patch)
tree7bcc2c86d2e98dc78619c2f93c65e1d0a2ac0558 /source/blender/editors/space_file/space_file.c
parent0524fc1df68f8dd56d1ba3fc10d7e5936449544b (diff)
Disable thumbnail generation when the thumbnail view is not enabled,
was slowing down browsing on NFS.
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r--source/blender/editors/space_file/space_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index d3a2ba08262..95a1771ebbb 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -201,13 +201,13 @@ static void file_refresh(const bContext *C, ScrArea *sa)
filelist_sort(sfile->files, params->sort);
}
BLI_strncpy(params->dir, filelist_dir(sfile->files), FILE_MAX);
- thumbnails_start(sfile->files, C);
+ thumbnails_start(sfile->files, params, C);
} else {
filelist_filter(sfile->files);
if(params->sort!=FILE_SORT_NONE) {
thumbnails_stop(sfile->files, C);
filelist_sort(sfile->files, params->sort);
- thumbnails_start(sfile->files, C);
+ thumbnails_start(sfile->files, params, C);
} else {
filelist_filter(sfile->files);
}