X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_ConstraintFixedArcRadius.cpp;h=05f071f4ff60b403f830fb950063d7ee913afca8;hb=eef14b29d313b9dd16453d12f20aa02383ee139c;hp=e451371492df94835372ad1db49aaa706e1b2e82;hpb=b7576839d8982c8e08513b8d3d214a7e5d09e310;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ConstraintFixedArcRadius.cpp b/src/SketchSolver/SketchSolver_ConstraintFixedArcRadius.cpp index e45137149..05f071f4f 100644 --- a/src/SketchSolver/SketchSolver_ConstraintFixedArcRadius.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintFixedArcRadius.cpp @@ -53,7 +53,9 @@ void SketchSolver_ConstraintFixedArcRadius::fixFeature(EntityWrapperPtr theFeatu bool SketchSolver_ConstraintFixedArcRadius::remove() { - bool isFullyRemoved = SketchSolver_ConstraintFixed::remove(); + bool isFullyRemoved = true; + if (myBaseFeature) + isFullyRemoved = myStorage->removeEntity(myBaseFeature) && isFullyRemoved; if (myRadiusConstraint) isFullyRemoved = myStorage->removeConstraint(ConstraintPtr()) && myStorage->remove(myRadiusConstraint) && isFullyRemoved;