# HG changeset patch # User Chris Cannam # Date 1488300172 0 # Node ID b3603483228dc6b02f32313132e319b7675ba5c6 # Parent 822edd9bb665e5b2bbb9d7b5d0fa311d70b88ed2 Fix failure to respect saved linear-scale setting in layer when the model suggests it would prefer log scale diff -r 822edd9bb665 -r b3603483228d layer/Colour3DPlotLayer.cpp --- a/layer/Colour3DPlotLayer.cpp Tue Feb 28 16:34:59 2017 +0000 +++ b/layer/Colour3DPlotLayer.cpp Tue Feb 28 16:42:52 2017 +0000 @@ -481,9 +481,9 @@ void Colour3DPlotLayer::setColourScale(ColourScaleType scale) { + m_colourScaleSet = true; // even if setting to the same thing if (m_colourScale == scale) return; m_colourScale = scale; - m_colourScaleSet = true; invalidateRenderers(); emit layerParametersChanged(); }