mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1189 Use gray for closed sphere connections
This commit is contained in:
parent
b1beacb46a
commit
9c5f3732b4
@ -186,7 +186,7 @@ cvf::Color3f RivWellSpheresPartMgr::wellCellColor(const RigWellResultFrame& well
|
|||||||
{
|
{
|
||||||
// Colours should be synchronized with RivWellPipesPartMgr::updatePipeResultColor
|
// Colours should be synchronized with RivWellPipesPartMgr::updatePipeResultColor
|
||||||
|
|
||||||
cvf::Color3f cellColor(m_rimWell->wellPipeColor());
|
cvf::Color3f cellColor(cvf::Color3f::GRAY);
|
||||||
|
|
||||||
RimEclipseWellCollection* wellColl = nullptr;
|
RimEclipseWellCollection* wellColl = nullptr;
|
||||||
if (m_rimWell)
|
if (m_rimWell)
|
||||||
@ -212,16 +212,9 @@ cvf::Color3f RivWellSpheresPartMgr::wellCellColor(const RigWellResultFrame& well
|
|||||||
case RigWellResultFrame::WATER_INJECTOR:
|
case RigWellResultFrame::WATER_INJECTOR:
|
||||||
cellColor = cvf::Color3f::BLUE;
|
cellColor = cvf::Color3f::BLUE;
|
||||||
break;
|
break;
|
||||||
case RigWellResultFrame::UNDEFINED_PRODUCTION_TYPE:
|
|
||||||
cellColor = cvf::Color3f::GRAY;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
cellColor = m_rimWell->wellPipeColor();
|
|
||||||
}
|
|
||||||
|
|
||||||
return cellColor;
|
return cellColor;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user