mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Remove confusing concept hasUserRequestedAnimation
This commit is contained in:
@@ -411,12 +411,6 @@ void RimGeoMechResultDefinition::fieldChangedByUi( const caf::PdmFieldHandle* ch
|
||||
m_compactionRefLayer = m_compactionRefLayerUiField();
|
||||
}
|
||||
|
||||
if ( m_geomCase->geoMechData() &&
|
||||
m_geomCase->geoMechData()->femPartResults()->assertResultsLoaded( this->resultAddress() ) )
|
||||
{
|
||||
if ( view ) view->hasUserRequestedAnimation = true;
|
||||
}
|
||||
|
||||
if ( propFilter )
|
||||
{
|
||||
propFilter->setToDefaultValues();
|
||||
|
||||
@@ -168,11 +168,8 @@ void RimGeoMechView::onLoadDataAndUpdate()
|
||||
progress.setProgressDescription( "Reading Current Result" );
|
||||
|
||||
CVF_ASSERT( this->cellResult() != nullptr );
|
||||
if ( this->hasUserRequestedAnimation() )
|
||||
{
|
||||
m_geomechCase->geoMechData()->femPartResults()->setNormalizationAirGap( this->cellResult()->normalizationAirGap() );
|
||||
m_geomechCase->geoMechData()->femPartResults()->assertResultsLoaded( this->cellResult()->resultAddress() );
|
||||
}
|
||||
m_geomechCase->geoMechData()->femPartResults()->setNormalizationAirGap( this->cellResult()->normalizationAirGap() );
|
||||
m_geomechCase->geoMechData()->femPartResults()->assertResultsLoaded( this->cellResult()->resultAddress() );
|
||||
progress.incrementProgress();
|
||||
progress.setProgressDescription( "Create Display model" );
|
||||
|
||||
@@ -778,8 +775,7 @@ size_t RimGeoMechView::onTimeStepCountRequested()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimGeoMechView::isTimeStepDependentDataVisible() const
|
||||
{
|
||||
if ( this->hasUserRequestedAnimation() &&
|
||||
( this->cellResult()->hasResult() || this->geoMechPropertyFilterCollection()->hasActiveFilters() ) )
|
||||
if ( this->cellResult()->hasResult() || this->geoMechPropertyFilterCollection()->hasActiveFilters() )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user