mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
As display of wells is dependent on timestep, do not reset timestep when no results are present.
p4#: 20411
This commit is contained in:
1 parent
7a88cf899b
commit
f8059880b8
1 file changed
-5
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user