From: dbv Date: Tue, 4 Apr 2017 14:35:02 +0000 (+0300) Subject: Issue #2092: Middle constraint not removed when creating a fillet X-Git-Tag: V_2.7.0~77 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1803da706614befff7cacbe408c69ea14d71a8bb;p=modules%2Fshaper.git Issue #2092: Middle constraint not removed when creating a fillet Now middle constraint removed when creating fillet. --- diff --git a/src/SketchPlugin/SketchPlugin_Fillet.cpp b/src/SketchPlugin/SketchPlugin_Fillet.cpp index 2a9acd4b1..ad923c584 100644 --- a/src/SketchPlugin/SketchPlugin_Fillet.cpp +++ b/src/SketchPlugin/SketchPlugin_Fillet.cpp @@ -13,6 +13,7 @@ #include "SketchPlugin_ConstraintEqual.h" #include "SketchPlugin_ConstraintCoincidence.h" #include "SketchPlugin_ConstraintLength.h" +#include "SketchPlugin_ConstraintMiddle.h" #include "SketchPlugin_ConstraintTangent.h" #include "SketchPlugin_ConstraintRadius.h" #include "SketchPlugin_Tools.h" @@ -521,7 +522,8 @@ std::set findFeaturesToRemove(const FeaturePtr theFeature, continue; } if(aFeature->getKind() == SketchPlugin_ConstraintLength::ID() - || aFeature->getKind() == SketchPlugin_ConstraintEqual::ID()) { + || aFeature->getKind() == SketchPlugin_ConstraintEqual::ID() + || aFeature->getKind() == SketchPlugin_ConstraintMiddle::ID()) { aFeaturesToBeRemoved.insert(aFeature); } else { std::list anAttrs =