#2238 Lift limitation of plotting Flooded PV as time history curve

This commit is contained in:
Jacob Støren
2017-12-07 19:31:28 +01:00
parent f0ad02bc37
commit 04e5ccfd7e
2 changed files with 2 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ void RiuSelectionChangedHandler::addCurveFromSelectionItem(const RiuEclipseSelec
{
RimEclipseView* eclipseView = eclipseSelectionItem->m_view.p();
if (eclipseView->cellResult()->isFlowDiagOrInjectionFlooding())
if (eclipseView->cellResult()->isFlowDiagOrInjectionFlooding() && eclipseView->cellResult()->resultVariable() != RIG_NUM_FLOODED_PV)
{
// NB! Do not read out data for flow results, as this can be a time consuming operation