Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bos #19068: Unable to quit Sketch because of conflicting constraint
[modules/shaper.git]
/
src
/
SketchAPI
/
SketchAPI_MacroEllipticArc.cpp
diff --git
a/src/SketchAPI/SketchAPI_MacroEllipticArc.cpp
b/src/SketchAPI/SketchAPI_MacroEllipticArc.cpp
index bde81dfef0f16f4d10b5d94afa042dbf7d325d11..47da7caa4b0e66fc69ffbe59f26d9cf7d579e506 100644
(file)
--- a/
src/SketchAPI/SketchAPI_MacroEllipticArc.cpp
+++ b/
src/SketchAPI/SketchAPI_MacroEllipticArc.cpp
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-20
19
CEA/DEN, EDF R&D
+// Copyright (C) 2014-20
20
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
//
// 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<GeomAPI_Pnt2d>& thePoint,
}
SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc(const FeaturePtr& theFeature)
}
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<GeomAPI_Pnt2d>& theArcEnd,
const ModelHighAPI_RefAttr& theArcEndRef,
const bool theReversed)
const std::shared_ptr<GeomAPI_Pnt2d>& theArcEnd,
const ModelHighAPI_RefAttr& theArcEndRef,
const bool theReversed)
- : SketchAPI_MacroEllipse(theFeature)
+ : SketchAPI_MacroEllipse(theFeature
, false
)
{
if (initialize()) {
fillAttribute(theCenter, theCenterRef,
{
if (initialize()) {
fillAttribute(theCenter, theCenterRef,
@@
-86,6
+86,7
@@
SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc(
fillAttribute(theReversed, reversed());
fillAttribute(theReversed, reversed());
+ storeSketch(theFeature);
execute();
}
}
execute();
}
}