mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -06:00
#3835 Ensemble curves. Fix visibility bug
This commit is contained in:
parent
488798c3d8
commit
abdc4957cd
@ -928,7 +928,7 @@ void RimEnsembleCurveSet::updateEnsembleCurves(const std::vector<RimSummaryCase*
|
||||
RimSummaryAddress* addr = m_yValuesCurveVariable();
|
||||
if (plot && addr->address().category() != RifEclipseSummaryAddress::SUMMARY_INVALID)
|
||||
{
|
||||
if(m_showCurves)
|
||||
if(isCurvesVisible())
|
||||
{
|
||||
for (auto& sumCase : sumCases)
|
||||
{
|
||||
@ -974,7 +974,7 @@ void RimEnsembleCurveSet::updateStatisticsCurves(const std::vector<RimSummaryCas
|
||||
RimSummaryCaseCollection* group = m_yValuesSummaryGroup();
|
||||
RimSummaryAddress* addr = m_yValuesCurveVariable();
|
||||
|
||||
if (m_disableStatisticCurves || !group || addr->address().category() == RifEclipseSummaryAddress::SUMMARY_INVALID) return;
|
||||
if (!isCurvesVisible() || m_disableStatisticCurves || !group || addr->address().category() == RifEclipseSummaryAddress::SUMMARY_INVALID) return;
|
||||
|
||||
// Calculate
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user