File browser - change thumbnails size with a slider
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 29 Apr 2015 19:25:34 +0000 (21:25 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 29 Apr 2015 19:30:33 +0000 (21:30 +0200)
commit054aa61f3c9af0997cbb0ecf89f73227723a24cd
tree12633d0b7c8727a645050fc852efa028456c893b
parent3de45ee7fe451ab4267b824a569a2173660d2575
File browser - change thumbnails size with a slider

We can now scale from 32px up to 256px (default has been upgraded to 128px).
Thumbnails are now generated as 'large', i.e. 256px.

Previews are scaled up if necessary, unlike icons (for folders or files without preview images).

Note that .blend thumbnails themselves remain in 128px for now (they are embeded in .blend files,
not quite sure we want to make them four times bigger...).

Patch by DMS (Yaron Dames), with final edits by myself.

Reviewers: mont29

Subscribers: Severin, mont29

Differential Revision: https://developer.blender.org/D1260
release/scripts/startup/bl_ui/space_filebrowser.py
source/blender/blenloader/intern/versioning_270.c
source/blender/editors/space_file/file_draw.c
source/blender/editors/space_file/filelist.c
source/blender/editors/space_file/filesel.c
source/blender/imbuf/intern/thumbs.c
source/blender/makesdna/DNA_space_types.h
source/blender/makesrna/intern/rna_space.c