Mercurial > hg > svgui
diff layer/Colour3DPlotLayer.cpp @ 26:94381052a6c9
* Add natty segmentation display to time-value layer. Need to do the same
for time-instants layer.
* Make sure dense 3D model bin names are saved and restored properly.
* Fix to chromagram normalization
author | Chris Cannam |
---|---|
date | Thu, 02 Feb 2006 17:31:08 +0000 |
parents | dcdb21b62dbb |
children | 202d1dca67d2 |
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp Thu Feb 02 16:10:19 2006 +0000 +++ b/layer/Colour3DPlotLayer.cpp Thu Feb 02 17:31:08 2006 +0000 @@ -228,8 +228,8 @@ // int hue = 256 - spread; // QColor color = QColor::fromHsv(hue, spread/2 + 128, spread); int hue = 256 - value; - QColor color = QColor::fromHsv(hue, value/2 + 128, value); - m_cache->setColor(value, qRgba(color.red(), color.green(), color.blue(), 80)); + QColor colour = QColor::fromHsv(hue, value/2 + 128, value); + m_cache->setColor(value, qRgba(colour.red(), colour.green(), colour.blue(), 80)); // std::cerr << "Colour3DPlotLayer: Index " << value << ": hue " << hue << std::endl; }