From 4bc465e096ea38123feb4e5e516d953f78abc6e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Tue, 4 Jul 2017 15:32:59 +0200 Subject: [PATCH] Guard time history curve creation (Result Plot) from combined results. --- .../UserInterface/RiuSelectionChangedHandler.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ApplicationCode/UserInterface/RiuSelectionChangedHandler.cpp b/ApplicationCode/UserInterface/RiuSelectionChangedHandler.cpp index c15ae4d56c..d4cfa95900 100644 --- a/ApplicationCode/UserInterface/RiuSelectionChangedHandler.cpp +++ b/ApplicationCode/UserInterface/RiuSelectionChangedHandler.cpp @@ -109,9 +109,10 @@ void RiuSelectionChangedHandler::addCurveFromSelectionItem(const RiuEclipseSelec return; } - else if (eclipseView->cellResult()->hasDynamicResult() && - eclipseView->eclipseCase() && - eclipseView->eclipseCase()->eclipseCaseData()) + else if (eclipseView->cellResult()->hasDynamicResult() + && !RimDefines::isPerCellFaceResult(eclipseView->cellResult()->resultVariable()) + && eclipseView->eclipseCase() + && eclipseView->eclipseCase()->eclipseCaseData()) { RifReaderInterface::PorosityModelResultType porosityModel = RigCaseCellResultsData::convertFromProjectModelPorosityModel(eclipseView->cellResult()->porosityModel());