mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-03 20:57:39 -06:00
#2527 Mohr circle: Make coloring of envelope more robust
This commit is contained in:
parent
3f7eae6bcc
commit
381ae6bd81
@ -555,7 +555,7 @@ QColor RiuMohrsCirclePlot::envelopeColor(RimGeoMechView* view)
|
||||
{
|
||||
if (m_envolopeColors.find(view) == m_envolopeColors.end())
|
||||
{
|
||||
cvf::Color3ub cvfColor = RiaColorTables::summaryCurveDefaultPaletteColors().cycledColor3ub(m_envolopePlotItems.size());
|
||||
cvf::Color3ub cvfColor = RiaColorTables::summaryCurveDefaultPaletteColors().cycledColor3ub(m_envolopeColors.size());
|
||||
|
||||
QColor color(cvfColor.r(), cvfColor.g(), cvfColor.b());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user