[Bf-blender-cvs] [c38d2513c5d] master: Fix T91725: Waveforms are not displayed
Richard Antalik
noreply at git.blender.org
Mon Oct 4 22:18:50 CEST 2021
Commit: c38d2513c5db343314cf32f2ca2dc3396877df09
Author: Richard Antalik
Date: Mon Oct 4 22:17:05 2021 +0200
Branches: master
https://developer.blender.org/rBc38d2513c5db343314cf32f2ca2dc3396877df09
Fix T91725: Waveforms are not displayed
Use `sseq->timeline_overlay.flag` for `SEQ_TIMELINE_ALL_WAVEFORMS`
instead of `sseq->flag`.
===================================================================
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 dc5e11b6998..d5cd5d11a35 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -350,7 +350,7 @@ static void draw_seq_waveform_overlay(View2D *v2d,
float frames_per_pixel)
{
if (seq->sound &&
- ((sseq->flag & SEQ_TIMELINE_ALL_WAVEFORMS) || (seq->flag & SEQ_AUDIO_DRAW_WAVEFORM))) {
+ ((sseq->timeline_overlay.flag & SEQ_TIMELINE_ALL_WAVEFORMS) || (seq->flag & SEQ_AUDIO_DRAW_WAVEFORM))) {
/* Make sure that the start drawing position is aligned to the pixels on the screen to avoid
* flickering when moving around the strip.
* To do this we figure out the fractional offset in pixel space by checking where the
More information about the Bf-blender-cvs
mailing list