mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-27 05:37:21 -05:00
#13967 Apply persisted Flip X/Y axis when loading an Eclipse result case
When a project file persisted FlipXAxis or FlipYAxis as true, the flag was restored to the PdmField but never propagated to the grid nodes during RimEclipseResultCase::importGridAndResultMetaData. Only the UI change handler applied the flip, so on reload the grid stayed un-flipped while the checkbox appeared active. Mirror the call already present in RimEclipseInputCase and RimRoffCase by invoking setFlipAxis before computeCachedData.
This commit is contained in:
@@ -291,6 +291,7 @@ bool RimEclipseResultCase::importGridAndResultMetaData( bool showTimeStepFilter
|
||||
CVF_ASSERT( readerInterface.notNull() );
|
||||
|
||||
progInfo.setProgressDescription( "Computing Case Cache" );
|
||||
eclipseCaseData()->mainGrid()->setFlipAxis( m_flipXAxis, m_flipYAxis );
|
||||
computeCachedData();
|
||||
loadAndSynchronizeInputProperties( false );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user