Revert hard setting of linestyle NONE fro observed data. Must be more graceful

This commit is contained in:
Jacob Støren 2017-09-27 19:43:11 +02:00
parent 38d87dddb1
commit 00ef13094a

View File

@ -961,8 +961,8 @@ void RicSummaryCurveCreator::updatePreviewCurvesFromCurveDefinitions(const std::
curve->applyCurveAutoNameSettings(*m_curveNameConfig());
m_previewPlot->addCurveNoUpdate(curve);
curveLookCalc.setupCurveLook(curve);
if(isObservedData(currentCase))
curve->setLineStyle(RimPlotCurve::STYLE_NONE);
//if(isObservedData(currentCase))
// curve->setLineStyle(RimPlotCurve::STYLE_NONE);
}
m_previewPlot->loadDataAndUpdate();
@ -1266,8 +1266,8 @@ void RicSummaryCurveCreator::applyAppearanceToAllPreviewCurves()
{
curve->resetAppearance();
curveLookCalc.setupCurveLook(curve);
if (isObservedData(curve->summaryCase()))
curve->setLineStyle(RimPlotCurve::STYLE_NONE);
// if (isObservedData(curve->summaryCase()))
// curve->setLineStyle(RimPlotCurve::STYLE_NONE);
}
}