X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_MacroEllipticArc.cpp;h=47da7caa4b0e66fc69ffbe59f26d9cf7d579e506;hb=fdd802da7683f66ca609cf12b1e11be9642149d6;hp=bde81dfef0f16f4d10b5d94afa042dbf7d325d11;hpb=7979d8ea34aa67fac5f1b39d5283adda9f4bda2d;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_MacroEllipticArc.cpp b/src/SketchAPI/SketchAPI_MacroEllipticArc.cpp index bde81dfef..47da7caa4 100644 --- a/src/SketchAPI/SketchAPI_MacroEllipticArc.cpp +++ b/src/SketchAPI/SketchAPI_MacroEllipticArc.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2020 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -59,7 +59,7 @@ static void fillAttribute(const std::shared_ptr& thePoint, } SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc(const FeaturePtr& theFeature) - : SketchAPI_MacroEllipse(theFeature) + : SketchAPI_MacroEllipse(theFeature, false) { } @@ -74,7 +74,7 @@ SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc( const std::shared_ptr& theArcEnd, const ModelHighAPI_RefAttr& theArcEndRef, const bool theReversed) - : SketchAPI_MacroEllipse(theFeature) + : SketchAPI_MacroEllipse(theFeature, false) { if (initialize()) { fillAttribute(theCenter, theCenterRef, @@ -86,6 +86,7 @@ SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc( fillAttribute(theReversed, reversed()); + storeSketch(theFeature); execute(); } }