]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_ConstraintMulti.cpp
Salome HOME
Add tools
[modules/shaper.git] / 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]) {