mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
parent
6977fa59f7
commit
f8e19e68d2
@ -1357,8 +1357,12 @@ void RimSummaryMultiPlot::appendSubPlotByStepping( int direction )
|
|||||||
RimSummaryCase* newCase = m_sourceStepping()->stepCase( direction );
|
RimSummaryCase* newCase = m_sourceStepping()->stepCase( direction );
|
||||||
for ( auto curve : newPlot->allCurves( RimSummaryDataSourceStepping::Axis::Y_AXIS ) )
|
for ( auto curve : newPlot->allCurves( RimSummaryDataSourceStepping::Axis::Y_AXIS ) )
|
||||||
{
|
{
|
||||||
curve->setSummaryCaseX( newCase );
|
|
||||||
curve->setSummaryCaseY( 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 )
|
else if ( m_sourceStepping()->stepDimension() == RimSummaryDataSourceStepping::SourceSteppingDimension::ENSEMBLE )
|
||||||
|
Loading…
Reference in New Issue
Block a user