From: azv Date: Wed, 18 Jun 2014 12:54:00 +0000 (+0400) Subject: Eliminate the problem with constraint for the length of the line X-Git-Tag: V_0.4.4~282 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7f62226c87c98172f2970f1468e44b5f7876524b;p=modules%2Fshaper.git Eliminate the problem with constraint for the length of the line --- 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())