[Bf-blender-cvs] [7d1a10a9bbf] master: Fix T93314: Thumbnails not drawn with default scale

Richard Antalik noreply at git.blender.org
Mon Dec 6 17:02:15 CET 2021


Commit: 7d1a10a9bbf38cca571f56d32c799d9740d07423
Author: Richard Antalik
Date:   Mon Dec 6 16:59:17 2021 +0100
Branches: master
https://developer.blender.org/rB7d1a10a9bbf38cca571f56d32c799d9740d07423

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