# HG changeset patch # User Chris Cannam # Date 1468512870 -3600 # Node ID edbe229860acdbf769d0d7880a5d6ede34e5656e # Parent 6d720fe1c8cc97c7f398ce19d08edce81102b594 Fix failure to reinitialise m_peakCache diff -r 6d720fe1c8cc -r edbe229860ac layer/Colour3DPlotLayer.cpp --- a/layer/Colour3DPlotLayer.cpp Thu Jul 14 17:12:08 2016 +0100 +++ b/layer/Colour3DPlotLayer.cpp Thu Jul 14 17:14:30 2016 +0100 @@ -180,6 +180,8 @@ { //!!! should do this only if the range is visible delete m_peakCache; + m_peakCache = 0; + invalidateRenderers(); }