Mercurial > hg > svgui
diff layer/ColourScale.cpp @ 1374:631897ba9fca zoom
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 06 Nov 2018 08:59:03 +0000 |
parents | d79e21855aef |
children |
line wrap: on
line diff
--- a/layer/ColourScale.cpp Fri Oct 05 10:25:52 2018 +0100 +++ b/layer/ColourScale.cpp Tue Nov 06 08:59:03 2018 +0000 @@ -27,7 +27,7 @@ ColourScale::ColourScale(Parameters parameters) : m_params(parameters), - m_mapper(m_params.colourMap, 1.f, double(m_maxPixel)) + m_mapper(m_params.colourMap, m_params.inverted, 1.f, double(m_maxPixel)) { if (m_params.minValue >= m_params.maxValue) { SVCERR << "ERROR: ColourScale::ColourScale: minValue = "