From 1da0d0042a8d860765bb6ca6fef9577f37c011c9 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 26 Apr 2016 17:17:01 +0200 Subject: Fix Font filebrowser not showing thumbnails when those are enabled by default in userpref. Reported by Leon Cheung over IRC, thanks. --- source/blender/editors/space_file/filesel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_file') diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c index 981b101519c..ff5f1d30e44 100644 --- a/source/blender/editors/space_file/filesel.c +++ b/source/blender/editors/space_file/filesel.c @@ -242,7 +242,7 @@ short ED_fileselect_set_params(SpaceFile *sfile) if (params->display == FILE_DEFAULTDISPLAY) { if (U.uiflag & USER_SHOW_THUMBNAILS) { - if (params->filter & (FILE_TYPE_IMAGE | FILE_TYPE_MOVIE)) + if (params->filter & (FILE_TYPE_IMAGE | FILE_TYPE_MOVIE | FILE_TYPE_FTFONT)) params->display = FILE_IMGDISPLAY; else params->display = FILE_SHORTDISPLAY; -- cgit v1.2.3