As display of wells is dependent on timestep, do not reset timestep when no results are present.

p4#: 20411
This commit is contained in:
Magne Sjaastad 2013-02-07 12:28:34 +01:00
parent 7a88cf899b
commit f8059880b8

View File

@ -276,11 +276,6 @@ void RimReservoirView::createDisplayModelAndRedraw()
if (m_currentTimeStep < 0 ) m_currentTimeStep = 0;
if (!this->cellResult()->hasResult() || cellResult->hasStaticResult())
{
m_currentTimeStep = 0;
}
if (m_viewer->frameCount() > 0)
{
m_viewer->animationControl()->setCurrentFrame(m_currentTimeStep);