[Bf-blender-cvs] [1da0d00] master: Fix Font filebrowser not showing thumbnails when those are enabled by default in userpref.
Bastien Montagne
noreply at git.blender.org
Tue Apr 26 17:18:46 CEST 2016
Commit: 1da0d0042a8d860765bb6ca6fef9577f37c011c9
Author: Bastien Montagne
Date: Tue Apr 26 17:17:01 2016 +0200
Branches: master
https://developer.blender.org/rB1da0d0042a8d860765bb6ca6fef9577f37c011c9
Fix Font filebrowser not showing thumbnails when those are enabled by default in userpref.
Reported by Leon Cheung over IRC, thanks.
===================================================================
M source/blender/editors/space_file/filesel.c
===================================================================
diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c
index 981b101..ff5f1d3 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;
More information about the Bf-blender-cvs
mailing list