mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix update of grid nodes.
This commit is contained in:
parent
ce6199289f
commit
39b9a25faa
@ -1063,15 +1063,6 @@ bool RimEclipseCase::openReserviorCase()
|
||||
}
|
||||
}
|
||||
|
||||
// Update grids node
|
||||
{
|
||||
std::vector<RimGridCollection*> gridColls = descendantsIncludingThisOfType<RimGridCollection>();
|
||||
for ( RimGridCollection* gridCollection : gridColls )
|
||||
{
|
||||
gridCollection->syncFromMainEclipseGrid();
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -385,6 +385,13 @@ void RimEclipseView::propagateEclipseCaseToChildObjects()
|
||||
faultResultSettings()->customFaultResult()->setEclipseCase( currentEclipseCase );
|
||||
cellFilterCollection()->setCase( currentEclipseCase );
|
||||
m_streamlineCollection->setEclipseCase( currentEclipseCase );
|
||||
|
||||
// Update grids node
|
||||
std::vector<RimGridCollection*> gridColls = descendantsIncludingThisOfType<RimGridCollection>();
|
||||
for ( RimGridCollection* gridCollection : gridColls )
|
||||
{
|
||||
gridCollection->syncFromMainEclipseGrid();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user