# HG changeset patch # User Chris Cannam # Date 1488299641 0 # Node ID b0b5776d2156c8d2e183c326d42d94dcafea2193 # Parent 9e1559b08f0df5aed3e1a45d85ad3d9a30d012b0 Fix attribute name -- it's colourScale in the spectrogram, but it's just scale here diff -r 9e1559b08f0d -r b0b5776d2156 layer/Colour3DPlotLayer.cpp --- a/layer/Colour3DPlotLayer.cpp Tue Feb 28 14:47:13 2017 +0000 +++ b/layer/Colour3DPlotLayer.cpp Tue Feb 28 16:34:01 2017 +0000 @@ -1216,7 +1216,7 @@ bool ok = false, alsoOk = false; ColourScaleType colourScale = convertToColourScale - (attributes.value("colourScale").toInt(&ok)); + (attributes.value("scale").toInt(&ok)); if (ok) setColourScale(colourScale); int colourMap = attributes.value("colourScheme").toInt(&ok);