From: Artem Zhidkov Date: Wed, 24 Jun 2020 13:45:49 +0000 (+0300) Subject: Task #3230: Sketcher: create a curve passing through selected points or vertices... X-Git-Tag: V9_6_0a1~60^2~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7eaee8da99a68553d7eb10e5d91a2779d90afe0d;p=modules%2Fshaper.git Task #3230: Sketcher: create a curve passing through selected points or vertices of a polyline Fix compilation error on Linux --- 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)