X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_Constraint.cpp;h=48c0fa5b80d63454f15ee4b12fa0a563c4b941d7;hb=8c2723caf52fd7b05d6d950059bc77adc711f18a;hp=7d047ac8091f1a83ecf5bc37098628918dbcbae1;hpb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_Constraint.cpp b/src/SketchSolver/SketchSolver_Constraint.cpp index 7d047ac80..48c0fa5b8 100644 --- a/src/SketchSolver/SketchSolver_Constraint.cpp +++ b/src/SketchSolver/SketchSolver_Constraint.cpp @@ -30,6 +30,7 @@ #include #include +#include #include #include #include @@ -76,7 +77,8 @@ void SketchSolver_Constraint::blockEvents(bool isBlocked) SketchSolver_ConstraintType SketchSolver_Constraint::TYPE(ConstraintPtr theConstraint) { const std::string& aType = theConstraint->getKind(); - if (aType == SketchPlugin_ConstraintCoincidence::ID()) + if (aType == SketchPlugin_ConstraintCoincidence::ID() || + aType == SketchPlugin_ConstraintCoincidenceInternal::ID()) return CONSTRAINT_COINCIDENCE; else if (aType == SketchPlugin_ConstraintRigid::ID()) return CONSTRAINT_FIXED;