From: azv Date: Fri, 18 Sep 2015 14:41:20 +0000 (+0300) Subject: Forgotten verification of fixed points (issues #982, #993) X-Git-Tag: V_1.4.0~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5e699059f285fef3e89da1d3637426611c77a0be;p=modules%2Fshaper.git Forgotten verification of fixed points (issues #982, #993) --- diff --git a/src/SketchSolver/SketchSolver_ConstraintMulti.cpp b/src/SketchSolver/SketchSolver_ConstraintMulti.cpp index 0980dab4e..b1de57dc2 100644 --- a/src/SketchSolver/SketchSolver_ConstraintMulti.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintMulti.cpp @@ -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]) {