Fix geomech reload issues

This commit is contained in:
Jon Jenssen
2023-01-25 15:41:56 +01:00
committed by jonjenssen
parent 0cdaf5b62e
commit 42a9fef2d3
8 changed files with 58 additions and 42 deletions

View File

@@ -234,8 +234,9 @@ void RimGeoMechCase::reloadDataAndUpdate()
{
RiaLogging::error( QString::fromStdString( errMsg ) );
}
for ( auto v : geoMechViews() )
for ( auto& v : geoMechViews() )
{
v->resetVizLogic();
v->loadDataAndUpdate();
v->setCurrentTimeStep( v->currentTimeStep() );
}