From 7eaee8da99a68553d7eb10e5d91a2779d90afe0d Mon Sep 17 00:00:00 2001 From: Artem Zhidkov Date: Wed, 24 Jun 2020 16:45:49 +0300 Subject: [PATCH] Task #3230: Sketcher: create a curve passing through selected points or vertices of a polyline Fix compilation error on Linux --- src/SketchPlugin/SketchPlugin_CurveFitting.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SketchPlugin/SketchPlugin_CurveFitting.cpp b/src/SketchPlugin/SketchPlugin_CurveFitting.cpp index 9c16a6eb6..f775679bd 100644 --- a/src/SketchPlugin/SketchPlugin_CurveFitting.cpp +++ b/src/SketchPlugin/SketchPlugin_CurveFitting.cpp @@ -52,11 +52,11 @@ static void convertTo3D(SketchPlugin_Sketch* theSketch, std::list& thePoints); static GeomEdgePtr buildInterpolationCurve(SketchPlugin_Sketch* theSketch, - AttributeRefAttrListPtr& thePoints, + AttributeRefAttrListPtr thePoints, bool thePeriodic, bool theClosed); static GeomEdgePtr buildApproximationCurve(SketchPlugin_Sketch* theSketch, - AttributeRefAttrListPtr& thePoints, + AttributeRefAttrListPtr thePoints, double thePrecision, bool thePeriodic, bool theClosed); @@ -353,7 +353,7 @@ void convertTo3D(SketchPlugin_Sketch* theSketch, } GeomEdgePtr buildInterpolationCurve(SketchPlugin_Sketch* theSketch, - AttributeRefAttrListPtr& thePoints, + AttributeRefAttrListPtr thePoints, bool thePeriodic, bool theClosed) { @@ -371,7 +371,7 @@ GeomEdgePtr buildInterpolationCurve(SketchPlugin_Sketch* theSketch, } GeomEdgePtr buildApproximationCurve(SketchPlugin_Sketch* theSketch, - AttributeRefAttrListPtr& thePoints, + AttributeRefAttrListPtr thePoints, double thePrecision, bool thePeriodic, bool theClosed) -- 2.39.2