Make sure single curves from individual realizations are displayed on top

This commit is contained in:
Magne Sjaastad committed 2023-12-11 12:32:19 +01:00
1 parent b3865d2d4a
commit f421c43450
1 file changed
+1 -1
@@ -843,7 +843,7 @@ double RimSummaryCurve::computeCurveZValue()
{
zOrder = RiuQwtPlotCurveDefines::zDepthForIndex( RiuQwtPlotCurveDefines::ZIndex::Z_ENSEMBLE_STAT_CURVE );
}
else if ( sumCase->ensemble() )
else if ( firstAncestorOrThisOfType<RimEnsembleCurveSetCollection>() )
{
zOrder = RiuQwtPlotCurveDefines::zDepthForIndex( RiuQwtPlotCurveDefines::ZIndex::Z_ENSEMBLE_CURVE );
}