]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2166: wrong conflicting constraint error when create point on external edge
authorazv <azv@opencascade.com>
Wed, 17 May 2017 08:11:55 +0000 (11:11 +0300)
committerazv <azv@opencascade.com>
Wed, 17 May 2017 08:11:55 +0000 (11:11 +0300)
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp

index 57f35592092f56f064048572e08d8031e36d11ce..05a704acef563ea63b5f4dfe19ea1d3e1a19999f 100644 (file)
@@ -37,6 +37,7 @@ void PlaneGCSSolver_Solver::addConstraint(GCSConstraintPtr theConstraint)
   myConstraints[theConstraint->getTag()].insert(theConstraint);
   if (theConstraint->getTag() >= 0)
     myDOF = -1;
+  myInitilized = false;
 }
 
 void PlaneGCSSolver_Solver::removeConstraint(ConstraintID theID)
@@ -50,6 +51,7 @@ void PlaneGCSSolver_Solver::removeConstraint(ConstraintID theID)
     if (theID >= 0)
       myDOF = -1;
   }
+  myInitilized = false;
 }
 
 double* PlaneGCSSolver_Solver::createParameter()