]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Forgotten verification of fixed points (issues #982, #993)
authorazv <azv@opencascade.com>
Fri, 18 Sep 2015 14:41:20 +0000 (17:41 +0300)
committerazv <azv@opencascade.com>
Fri, 18 Sep 2015 14:43:03 +0000 (17:43 +0300)
src/SketchSolver/SketchSolver_ConstraintMulti.cpp

index 0980dab4e5c460be9784fd595d22d727b414cd4a..b1de57dc2be113102af4cd23996fe4b35382a1dd 100644 (file)
@@ -289,7 +289,11 @@ void SketchSolver_ConstraintMulti::checkCoincidence()
               }
           }
         } else {
-          bool isFixed[2] = {isFixed1, isFixed2};
+          bool isFixed[2] = {
+              myStorage->isPointFixed(*anIt1, aFixed1, true),
+              myStorage->isPointFixed(*anIt2, aFixed2, true)
+          };
+
           Slvs_hEntity aPoint[2] = {*anIt1, *anIt2};
           for (int i = 0; i < 2; i++)
             if (!isFixed[i]) {