Removed duplicate code

This commit is contained in:
Magne Sjaastad 2017-03-14 16:20:59 +01:00
parent a8f225a749
commit ceef7f20f4

View File

@ -298,14 +298,8 @@ void RimView::scheduleCreateDisplayModelAndRedraw()
//--------------------------------------------------------------------------------------------------
void RimView::setCurrentTimeStepAndUpdate(int frameIndex)
{
m_currentTimeStep = frameIndex;
clampCurrentTimestep();
setCurrentTimeStep(frameIndex);
this->hasUserRequestedAnimation = true;
if (this->propertyFilterCollection() && this->propertyFilterCollection()->hasActiveDynamicFilters())
{
m_currentReservoirCellVisibility = NULL;
}
this->updateCurrentTimeStep();
}