]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchAPI/SketchAPI_Sketch.cpp
Salome HOME
Merge branch 'V9_11_BR'
[modules/shaper.git] / src / SketchAPI / SketchAPI_Sketch.cpp
index 9da5fe2dafa30f813e9b6fd067e73e2c78a232e9..34503d972d49f04a3484a5eb3b588b722169c504 100644 (file)
@@ -931,11 +931,12 @@ std::shared_ptr<SketchAPI_Offset> SketchAPI_Sketch::addOffset(
     const std::list<std::shared_ptr<ModelAPI_Object> > & theObjects,
     const ModelHighAPI_Double & theValue,
     const bool theReversed,
-    const std::string & theJointType)
+    const std::string & theJointType,
+    const bool theApprox)
 {
   std::shared_ptr<ModelAPI_Feature> 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));
 }
 
 //--------------------------------------------------------------------------------------