mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Curve Style : Add support for curve fitting for non-solid line styles
This commit is contained in:
@@ -914,6 +914,13 @@ void RimPlotCurve::updateCurveAppearance()
|
||||
legendIconSize.setWidth( width );
|
||||
m_plotCurve->setLegendIconSize( legendIconSize );
|
||||
}
|
||||
|
||||
double tolerance = 0.0;
|
||||
if ( m_curveAppearance->lineStyle() != RiuQwtPlotCurveDefines::LineStyleEnum::STYLE_SOLID )
|
||||
{
|
||||
tolerance = m_curveAppearance->curveFittingTolerance();
|
||||
}
|
||||
m_plotCurve->setCurveFittingTolerance( tolerance );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user