#3148 Ensemble curves. Option to hide ensemble curves (in order to show only stat curves)

This commit is contained in:
Bjørn Erik Jensen
2018-07-09 11:18:42 +02:00
parent 19ce35432c
commit 15e1fcfdac
3 changed files with 15 additions and 0 deletions

View File

@@ -925,6 +925,8 @@ void RimEnsembleCurveSet::updateEnsembleCurves(const std::vector<RimSummaryCase*
m_qwtPlotCurveForLegendText->detach();
deleteStatisticsCurves();
if (m_statistics->hideEnsembleCurves()) return;
RimSummaryAddress* addr = m_yValuesCurveVariable();
if (plot && addr->address().category() != RifEclipseSummaryAddress::SUMMARY_INVALID)
{