#2683 Well CF Visualization: Show connection factors on closed connections

This commit is contained in:
Magne Sjaastad
2018-04-19 20:18:15 +02:00
parent 7676ba4f20
commit c16c10e774
2 changed files with 2 additions and 2 deletions

View File

@@ -308,7 +308,7 @@ void RivSimWellPipesPartMgr::buildWellPipeParts(const caf::DisplayCoordTransform
cvf::Vec3d anchor = displayXf->transformToDisplayCoord(defaultLocationInDomainCoord);;
const RigWellResultPoint* wResCell = wResFrame.findResultCell(wellResultPoint.m_gridIndex, wellResultPoint.m_gridCellIndex);
if (wResCell && wResCell->m_isOpen)
if (wResCell->isValid())
{
CompletionVizData data(anchor, defaultWellPathDirection, wResCell->connectionFactor(), globalCellIndex);