Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Acheson <harley.acheson@gmail.com>2021-02-22 22:52:19 +0300
committerHarley Acheson <harley.acheson@gmail.com>2021-02-22 22:52:19 +0300
commit9c395d6275a06ec6adbf5c3d1faa827adc1cf54e (patch)
treee259653d00cf3cdf8537e021f9f4894d1e16bec5 /source/blender/windowmanager/intern/wm_files.c
parentbe9842f65b85d64ab8b7baa686ded9c79c31227e (diff)
UI: Remove Blend Thumb Passepartout
Removal of 'camera frame' around blend file thumbnail images. Differential Revision: https://developer.blender.org/D10490 Reviewed by Brecht Van Lommel
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 8bea2203abe..d2d080a9a68 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -1398,14 +1398,8 @@ static ImBuf *blend_file_thumb(const bContext *C,
}
if (ibuf) {
- float aspect = (scene->r.xsch * scene->r.xasp) / (scene->r.ysch * scene->r.yasp);
-
/* dirty oversampling */
IMB_scaleImBuf(ibuf, BLEN_THUMB_SIZE, BLEN_THUMB_SIZE);
-
- /* add pretty overlay */
- IMB_thumb_overlay_blend(ibuf->rect, ibuf->x, ibuf->y, aspect);
-
thumb = BKE_main_thumbnail_from_imbuf(NULL, ibuf);
}
else {