Mercurial > hg > svgui
changeset 911:6e2a034f7117 cxx11
Type correction
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 17:40:31 +0000 |
parents | b48db6f1a7d2 |
children | 635109400804 |
files | layer/ColourMapper.cpp |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/ColourMapper.cpp Tue Mar 10 17:31:14 2015 +0000 +++ b/layer/ColourMapper.cpp Tue Mar 10 17:40:31 2015 +0000 @@ -78,8 +78,7 @@ double h = 0.0, s = 0.0, v = 0.0, r = 0.0, g = 0.0, b = 0.0; bool hsv = true; -// double red = 0.0, green = 0.3333; - double blue = 0.6666f, pieslice = 0.3333; + double blue = 0.6666, pieslice = 0.3333; if (m_map >= getColourMapCount()) return Qt::black; StandardMap map = (StandardMap)m_map;