#4994 Make ComparisonView mode for InfoBox and animation progress

This commit is contained in:
Jacob Støren
2019-11-08 10:39:40 +01:00
parent c27c19ce96
commit e78b0d4204
13 changed files with 216 additions and 37 deletions

View File

@@ -725,6 +725,19 @@ void RimGeoMechView::onClampCurrentTimestep()
if ( m_currentTimeStep < 0 ) m_currentTimeStep = 0;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
size_t RimGeoMechView::onTimeStepCountRequested()
{
if ( m_geomechCase )
{
return m_geomechCase->geoMechData()->femPartResults()->frameCount();
}
return 0;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------