mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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.
This commit is contained in:
parent
eb2515b8c2
commit
355cef2ea4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user