Salome HOME
Rectangle correction to have coincidence with point/line selected for the first point...
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintFixedArcRadius.cpp
index e451371492df94835372ad1db49aaa706e1b2e82..05f071f4ff60b403f830fb950063d7ee913afca8 100644 (file)
@@ -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;