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:
authorAndrea Weikert <elubie@gmx.net>2009-08-20 22:39:25 +0400
committerAndrea Weikert <elubie@gmx.net>2009-08-20 22:39:25 +0400
commitc1100361e20ad174aea83160e2072427d12d4fd3 (patch)
treebe22b3155256d817f3bbf17273d743cd83e08bb2 /source/blender/editors/space_file/space_file.c
parent1772a0a62f86268f01540d4a3692c2bb4c7e6432 (diff)
2.5 filebrowser
* code cleanup: remove duplication in drawing, join list and preview drawing
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r--source/blender/editors/space_file/space_file.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index ea640eab090..22ad03f3523 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -310,12 +310,7 @@ static void file_main_area_draw(const bContext *C, ARegion *ar)
file_hilight_set(sfile, ar, event->x, event->y);
}
- if (params->display == FILE_IMGDISPLAY) {
- file_draw_previews(C, ar);
- } else {
- file_draw_list(C, ar);
- }
-
+ file_draw_list(C, ar);
/* reset view matrix */
UI_view2d_view_restore(C);