]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Eliminate the problem with constraint for the length of the line
authorazv <azv@opencascade.com>
Wed, 18 Jun 2014 12:54:00 +0000 (16:54 +0400)
committerazv <azv@opencascade.com>
Wed, 18 Jun 2014 12:54:00 +0000 (16:54 +0400)
src/SketchSolver/SketchSolver_ConstraintGroup.cpp

index 6ee9f2e429438a2421ee5bd2d460f7466cce28d2..1b7a78639a2562a34bec81cfb17af10c007b3e41 100644 (file)
@@ -193,6 +193,7 @@ bool SketchSolver_ConstraintGroup::changeConstraint(
       boost::shared_ptr<ModelAPI_Data> 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())