mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 09:30:48 +08:00
0029894: Visualization - AIS_ColorScale ColorRange returns only min color
A typo in AIS_ColorScale::ColorRange function has been fixed.
This commit is contained in:
@@ -133,7 +133,7 @@ public:
|
||||
Quantity_Color& theMaxColor) const
|
||||
{
|
||||
theMinColor.SetValues (hueToValidRange (myColorHlsMin[0]), myColorHlsMin[1], myColorHlsMin[2], Quantity_TOC_HLS);
|
||||
theMaxColor.SetValues (hueToValidRange (myColorHlsMin[0]), myColorHlsMin[1], myColorHlsMin[2], Quantity_TOC_HLS);
|
||||
theMaxColor.SetValues (hueToValidRange (myColorHlsMax[0]), myColorHlsMax[1], myColorHlsMax[2], Quantity_TOC_HLS);
|
||||
}
|
||||
|
||||
//! Sets color range corresponding to minimum and maximum values.
|
||||
|
||||
Reference in New Issue
Block a user