[Bf-blender-cvs] [98be3679971] greasepencil-object: GPencil: Test Dopesheet bar shorter

Antonio Vazquez noreply at git.blender.org
Sun Feb 28 13:11:23 CET 2021


Commit: 98be36799719fea0093cabd90e6ccc9cada8dc2c
Author: Antonio Vazquez
Date:   Sun Feb 28 13:11:17 2021 +0100
Branches: greasepencil-object
https://developer.blender.org/rB98be36799719fea0093cabd90e6ccc9cada8dc2c

GPencil: Test Dopesheet bar shorter

This is to test a new UI design for bar between keyframes

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

M	source/blender/editors/animation/keyframes_draw.c

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

diff --git a/source/blender/editors/animation/keyframes_draw.c b/source/blender/editors/animation/keyframes_draw.c
index b9ef69cf8bd..be2000a1498 100644
--- a/source/blender/editors/animation/keyframes_draw.c
+++ b/source/blender/editors/animation/keyframes_draw.c
@@ -800,7 +800,7 @@ static void draw_keylist(View2D *v2d,
                                    color_id,
                                    ab->cfra,
                                    ypos - quarter_icon_sz,
-                                   ab->next->cfra,
+                                   ab->next->cfra - 1.0f,
                                    ypos + quarter_icon_sz,
                                    (ab->block.sel) ? sel_mhcol : unsel_mhcol);
         }



More information about the Bf-blender-cvs mailing list