#1189 Use gray for closed sphere connections

This commit is contained in:
Magne Sjaastad 2017-02-08 13:45:37 +01:00
parent b1beacb46a
commit 9c5f3732b4

View File

@ -186,7 +186,7 @@ cvf::Color3f RivWellSpheresPartMgr::wellCellColor(const RigWellResultFrame& well
{
// Colours should be synchronized with RivWellPipesPartMgr::updatePipeResultColor
cvf::Color3f cellColor(m_rimWell->wellPipeColor());
cvf::Color3f cellColor(cvf::Color3f::GRAY);
RimEclipseWellCollection* wellColl = nullptr;
if (m_rimWell)
@ -212,16 +212,9 @@ cvf::Color3f RivWellSpheresPartMgr::wellCellColor(const RigWellResultFrame& well
case RigWellResultFrame::WATER_INJECTOR:
cellColor = cvf::Color3f::BLUE;
break;
case RigWellResultFrame::UNDEFINED_PRODUCTION_TYPE:
cellColor = cvf::Color3f::GRAY;
break;
}
}
}
else
{
cellColor = m_rimWell->wellPipeColor();
}
return cellColor;
}