From 7f62226c87c98172f2970f1468e44b5f7876524b Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 18 Jun 2014 16:54:00 +0400 Subject: [PATCH] Eliminate the problem with constraint for the length of the line --- src/SketchSolver/SketchSolver_ConstraintGroup.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SketchSolver/SketchSolver_ConstraintGroup.cpp b/src/SketchSolver/SketchSolver_ConstraintGroup.cpp index 6ee9f2e42..1b7a78639 100644 --- a/src/SketchSolver/SketchSolver_ConstraintGroup.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintGroup.cpp @@ -193,6 +193,7 @@ bool SketchSolver_ConstraintGroup::changeConstraint( boost::shared_ptr aData = aConstrAttr->feature()->data(); aConstrEnt[indAttr] = changeEntity(aData->attribute(LINE_ATTR_START)); aConstrEnt[indAttr+1] = changeEntity(aData->attribute(LINE_ATTR_END)); + myEntityFeatMap[aConstrAttr->feature()] = 0; // measured object is added into the map of objects to avoid problems with interaction betwee constraint and group break; // there should be no other entities } else if (aConstrAttr->isFeature()) -- 2.39.2