Avoid setting summaryCaseX, as this will cause issues for RimSummaryPlotNameHelper

In summary plots, we only use summary case for Y-axis
This commit is contained in:
Magne Sjaastad
2022-08-10 13:32:13 +02:00
parent 3fe6022c33
commit d3330cff90

View File

@@ -1357,8 +1357,12 @@ void RimSummaryMultiPlot::appendSubPlotByStepping( int direction )
RimSummaryCase* newCase = m_sourceStepping()->stepCase( direction );
for ( auto curve : newPlot->allCurves( RimSummaryDataSourceStepping::Axis::Y_AXIS ) )
{
curve->setSummaryCaseX( newCase );
curve->setSummaryCaseY( newCase );
// NOTE: If summary cross plots should be handled here, we also need to call
// curve->setSummaryCaseX( newCase );
// Setting summaryCaseX with a default uninitialized summary address causes issues for the summary name
// analyzer
}
}
else if ( m_sourceStepping()->stepDimension() == RimSummaryDataSourceStepping::SourceSteppingDimension::ENSEMBLE )