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 6977fa59f7
commit f8e19e68d2

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 )