#1986 Flooded PV: Add function isFlowDiagOrInjectionFlooding and replace

This commit is contained in:
Unknown
2017-10-18 11:31:19 +02:00
committed by Rebecca Cox
parent d9170e064b
commit 314bb71ea4
5 changed files with 23 additions and 10 deletions

View File

@@ -300,7 +300,7 @@ void Rim3dOverlayInfoConfig::updateEclipse3DInfo(RimEclipseView * eclipseView)
}
}
}
else if (eclipseView->cellResult()->resultType() == RiaDefines::FLOW_DIAGNOSTICS || eclipseView->cellResult->resultType() == RiaDefines::INJECTION_FLOODING)
else if (eclipseView->cellResult()->isFlowDiagOrInjectionFlooding())
{
if (m_statisticsTimeRange == CURRENT_TIMESTEP || m_statisticsTimeRange == ALL_TIMESTEPS) // All timesteps is ignored
{