Salome HOME
Task #3231: Sketcher Offset of a curve
[modules/shaper.git] / src / SketchAPI / SketchAPI_Sketch.cpp
index 2046d51034ac09bb02ea8ecde234ffc196d35454..a3efd9ef50d2eb0d584f7a7ca66446fb896a48cd 100644 (file)
@@ -895,12 +895,11 @@ std::shared_ptr<SketchAPI_Mirror> SketchAPI_Sketch::addMirror(
 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 bool theAuxiliary)
+    const bool theReversed)
 {
   std::shared_ptr<ModelAPI_Feature> aFeature =
     compositeFeature()->addFeature(SketchPlugin_Offset::ID());
-  return OffsetPtr(new SketchAPI_Offset(aFeature, theObjects, theValue, theReversed, theAuxiliary));
+  return OffsetPtr(new SketchAPI_Offset(aFeature, theObjects, theValue, theReversed));
 }
 
 //--------------------------------------------------------------------------------------