# HG changeset patch # User Chris Cannam # Date 1470134544 -3600 # Node ID b4b155cfd8b43ab9e865bc9c436efef1a9642530 # Parent 745a868f0abf3ded6c488dd8024f66be7f4704d3 Fix vertical zoom/scroll in colour 3d plot layer diff -r 745a868f0abf -r b4b155cfd8b4 layer/Colour3DPlotLayer.cpp --- a/layer/Colour3DPlotLayer.cpp Tue Aug 02 11:14:59 2016 +0100 +++ b/layer/Colour3DPlotLayer.cpp Tue Aug 02 11:42:24 2016 +0100 @@ -666,6 +666,8 @@ m_miny = int(lrint(min)); m_maxy = int(lrint(max)); + invalidateRenderers(); + emit layerParametersChanged(); return true; } @@ -712,6 +714,8 @@ m_maxy = m_miny + dist; if (m_maxy > m_model->getHeight()) m_maxy = m_model->getHeight(); + invalidateRenderers(); + // SVDEBUG << "Colour3DPlotLayer::setVerticalZoomStep(" <