From 355cef2ea4d1aef0dfffe0243e6db0e8478720b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20Hagen?= Date: Wed, 24 Jun 2015 10:07:27 +0200 Subject: [PATCH] Fix for setting the current frame when generating the display model Made sure that current frame is set when animation/multiple frames has been requested. The old conditions for this were not sufficient. --- ApplicationCode/ProjectDataModel/RimEclipseView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/RimEclipseView.cpp b/ApplicationCode/ProjectDataModel/RimEclipseView.cpp index 5b3f529a9e..93edc6a58a 100644 --- a/ApplicationCode/ProjectDataModel/RimEclipseView.cpp +++ b/ApplicationCode/ProjectDataModel/RimEclipseView.cpp @@ -459,7 +459,7 @@ void RimEclipseView::createDisplayModel() // If the animation was active before recreating everything, make viewer view current frame - if (isAnimationActive || cellResult->hasResult()) + if (frameModels.size() > 1 && this->hasUserRequestedAnimation()) { m_viewer->animationControl()->setCurrentFrame(m_currentTimeStep); }