diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2021-06-25 20:36:15 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2021-06-25 20:37:43 +0300 |
commit | cb548329eaea765c3d1c0e80576ec080e922fef6 (patch) | |
tree | b3950bd1bb27ace771dbe5411acf0e59476f6529 /source/blender/editors/space_file | |
parent | 9586472b9a92d5abb2aea8e1663297de0db89359 (diff) |
UI: Improved File Browser Preview Image Scaling
This patch enables sample filtering when scaling preview images in File
Browser, improving the result a bit. Reduces blockiness and other
artifacts when enlarging the images.
see D11706 for details and examples.
Differential Revision: https://developer.blender.org/D11706
Reviewed by Julian Eisel
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/file_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c index 5e09692b041..6e409d2f5a4 100644 --- a/source/blender/editors/space_file/file_draw.c +++ b/source/blender/editors/space_file/file_draw.c @@ -398,7 +398,7 @@ static void file_draw_preview(const SpaceFile *sfile, imb->x, imb->y, GPU_RGBA8, - false, + true, imb->rect, scale, scale, |