[Bf-blender-cvs] [2d86175bacc] master: Fix unreported: Sequencer grid lines are not drawn

Yevgeny Makarov noreply at git.blender.org
Wed Dec 30 19:57:06 CET 2020


Commit: 2d86175baccb718d45ad04cb82ebdade4f56e86d
Author: Yevgeny Makarov
Date:   Wed Dec 30 12:56:24 2020 -0600
Branches: master
https://developer.blender.org/rB2d86175baccb718d45ad04cb82ebdade4f56e86d

Fix unreported: Sequencer grid lines are not drawn

By design, there should be lines between the alternating horizontal
stripes in the Sequencer. But currently they are all drawn in one place,
on top of each other. Mistake in rBfae895125efe.

Differential Revision: https://developer.blender.org/D9962

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

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

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

diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index 2ee0dcea5e5..67d7fed88ed 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -1911,6 +1911,7 @@ static void draw_seq_backdrop(View2D *v2d)
   while (line_len--) {
     immVertex2f(pos, v2d->cur.xmax, i);
     immVertex2f(pos, v2d->cur.xmin, i);
+    i++;
   }
   immEnd();



More information about the Bf-blender-cvs mailing list