diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-10-04 23:17:05 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-10-04 23:17:05 +0300 |
commit | c38d2513c5db343314cf32f2ca2dc3396877df09 (patch) | |
tree | 1f2e396466220d3289dce0ba6b1b969352743f67 | |
parent | d1ade756a965423398d462e28063f1fdcf98ba16 (diff) |
Fix T91725: Waveforms are not displayed
Use `sseq->timeline_overlay.flag` for `SEQ_TIMELINE_ALL_WAVEFORMS`
instead of `sseq->flag`.
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |