From ec20915c06ee4bcb89e3cc4c23a092915c83e054 Mon Sep 17 00:00:00 2001 From: m0dB Date: Sun, 20 Oct 2024 15:30:50 +0200 Subject: [PATCH] added missing mark dirty --- src/waveform/renderers/allshader/waveformrendermark.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/waveform/renderers/allshader/waveformrendermark.cpp b/src/waveform/renderers/allshader/waveformrendermark.cpp index 916eb8d3d5b..e00e733459b 100644 --- a/src/waveform/renderers/allshader/waveformrendermark.cpp +++ b/src/waveform/renderers/allshader/waveformrendermark.cpp @@ -137,6 +137,8 @@ void allshader::WaveformRenderMark::updateRangeNode(GeometryNode* pNode, {posx1, posy1}, {posx2, posy2}, {r, g, b, a}, {r, g, b, 0.f}); vertexUpdater.addRectangleVGradient( {posx1, posy4}, {posx2, posy3}, {r, g, b, a}, {r, g, b, 0.f}); + + pNode->markDirtyGeometry(); } bool allshader::WaveformRenderMark::isSubtreeBlocked() const {