diff --git a/Polyhedron/demo/Polyhedron/Color_map.h b/Polyhedron/demo/Polyhedron/Color_map.h index 8d5bf31eb06..7583e370127 100644 --- a/Polyhedron/demo/Polyhedron/Color_map.h +++ b/Polyhedron/demo/Polyhedron/Color_map.h @@ -6,7 +6,7 @@ inline QColor generate_color(double h, double s_min = 0.35) { std::size_t s_max=255; - if(h >0.8 && h < 0,95) //span of ugly pink, desaturates make it less garish IMO + if(h >0.8 && h < 0.95) //span of ugly pink, desaturates make it less garish IMO s_max = 160; std::size_t s = std::rand() % (s_max-static_cast(s_min*255)) +s_min*255; return QColor::fromHsvF(h,s/255.0,1.0);