diff --git a/ApplicationCode/ModelVisualization/RivWellSpheresPartMgr.cpp b/ApplicationCode/ModelVisualization/RivWellSpheresPartMgr.cpp index f673e5c41d..f2195fee6c 100644 --- a/ApplicationCode/ModelVisualization/RivWellSpheresPartMgr.cpp +++ b/ApplicationCode/ModelVisualization/RivWellSpheresPartMgr.cpp @@ -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; }