From 5e699059f285fef3e89da1d3637426611c77a0be Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 18 Sep 2015 17:41:20 +0300 Subject: [PATCH] Forgotten verification of fixed points (issues #982, #993) --- src/SketchSolver/SketchSolver_ConstraintMulti.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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]) { -- 2.39.2