[Bf-blender-cvs] [7b361c60b03] filebrowser_redesign: Show size column by default
Julian Eisel
noreply at git.blender.org
Mon Jul 22 19:37:20 CEST 2019
Commit: 7b361c60b031bbe5b3cf9f42a981fc3170e17eb9
Author: Julian Eisel
Date: Mon Jul 22 18:50:43 2019 +0200
Branches: filebrowser_redesign
https://developer.blender.org/rB7b361c60b031bbe5b3cf9f42a981fc3170e17eb9
Show size column by default
Could version patch this so file browsers in old files show size column
too. IMHO not worth it though.
===================================================================
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 69baf941bf1..f03b3d8b3a1 100644
--- a/source/blender/editors/space_file/filesel.c
+++ b/source/blender/editors/space_file/filesel.c
@@ -99,6 +99,8 @@ short ED_fileselect_set_params(SpaceFile *sfile)
sfile->params->filter_glob[0] = '\0';
/* set the default thumbnails size */
sfile->params->thumbnail_size = 128;
+ /* Show size column by default. */
+ sfile->params->details_flags = FILE_DETAILS_SIZE;
}
params = sfile->params;
More information about the Bf-blender-cvs
mailing list