#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:
Magne Sjaastad
2026-05-08 10:28:31 +02:00
parent 8005dc772f
commit b18f676884
@@ -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 );