X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_Sketch.cpp;h=30d0e0c820f66ab2b5394a488102cbb1957429a8;hb=252a8b06667f8ca9b26f8e10d7219da807e5a5b3;hp=7ff5622b6b42dab83792dcfa44f717c0327d3bf4;hpb=c856f50b73f4a8ac6c13cc657f0b68cbcd5ae76f;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_Sketch.cpp b/src/SketchAPI/SketchAPI_Sketch.cpp index 7ff5622b6..30d0e0c82 100644 --- a/src/SketchAPI/SketchAPI_Sketch.cpp +++ b/src/SketchAPI/SketchAPI_Sketch.cpp @@ -931,11 +931,12 @@ std::shared_ptr SketchAPI_Sketch::addOffset( const std::list > & theObjects, const ModelHighAPI_Double & theValue, const bool theReversed, - const std::string & theJointType) + const std::string & theJointType, + const bool theApprox) { std::shared_ptr aFeature = compositeFeature()->addFeature(SketchPlugin_Offset::ID()); - return OffsetPtr(new SketchAPI_Offset(aFeature, theObjects, theValue, theReversed, theJointType)); + return OffsetPtr(new SketchAPI_Offset(aFeature, theObjects, theValue, theReversed, theJointType, theApprox)); } //--------------------------------------------------------------------------------------