[Bf-blender-cvs] [e29026bb4b4] blender-v3.0-release: Fix T93314: Thumbnails not drawn with default scale

Richard Antalik noreply at git.blender.org
Mon Jan 10 17:04:41 CET 2022


Commit: e29026bb4b4d71800f6eea9b7f1ea06bfa5926b1
Author: Richard Antalik
Date:   Mon Dec 6 16:59:17 2021 +0100
Branches: blender-v3.0-release
https://developer.blender.org/rBe29026bb4b4d71800f6eea9b7f1ea06bfa5926b1

Fix T93314: Thumbnails not drawn with default scale

Decrease threshold for drawing thumbnails.

This was unintended change in daaa43232d34 that was overlooked.

===================================================================

M	source/blender/editors/space_sequencer/sequencer_thumbnails.c

===================================================================

diff --git a/source/blender/editors/space_sequencer/sequencer_thumbnails.c b/source/blender/editors/space_sequencer/sequencer_thumbnails.c
index fe9cd44c5df..c6fecdb1fc6 100644
--- a/source/blender/editors/space_sequencer/sequencer_thumbnails.c
+++ b/source/blender/editors/space_sequencer/sequencer_thumbnails.c
@@ -452,7 +452,7 @@ void draw_seq_strip_thumbnail(View2D *v2d,
   rcti crop;
 
   /* If width of the strip too small ignore drawing thumbnails. */
-  if ((y2 - y1) / pixely <= 40 * U.dpi_fac) {
+  if ((y2 - y1) / pixely <= 20 * U.dpi_fac) {
     return;
   }



More information about the Bf-blender-cvs mailing list