]> OCCT Git - occt-copy.git/commit
0030915: Visualization - AIS_ColorScale::FindColor() returns Wrong color for maximal...
authorkgv <kgv@opencascade.com>
Mon, 26 Aug 2019 08:08:23 +0000 (11:08 +0300)
committermpv <mpv@opencascade.com>
Tue, 3 Sep 2019 08:18:39 +0000 (11:18 +0300)
commitbe74820241add344a7496196d81640a03317641b
treefbcabd139b1051133c81bb7edbf15a0315d1b805
parente6f0f25581225256c12a1a1b3d6f035528d0279d
0030915: Visualization - AIS_ColorScale::FindColor() returns Wrong color for maximal value

Map the very upper value (theValue==theMax) to the largest color interval.
src/AIS/AIS_ColorScale.cxx
tests/bugs/vis/bug27573