From 3ea24ee33413ac77fdc8cd3ad63c0fde5da00c11 Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 29 Aug 2018 13:04:07 +0300 Subject: [PATCH] Issue #2522: DoF is 0 but the sketch is not displayed in green Send message of fully constrained sketch each time it is recomputed. --- src/SketchSolver/SketchSolver_Group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SketchSolver/SketchSolver_Group.cpp b/src/SketchSolver/SketchSolver_Group.cpp index 93bbfa69d..4c005e9d3 100644 --- a/src/SketchSolver/SketchSolver_Group.cpp +++ b/src/SketchSolver/SketchSolver_Group.cpp @@ -313,7 +313,7 @@ void SketchSolver_Group::computeDoF() if (aDoF > 0 && myDOF == 0) sendMessage(EVENT_SKETCH_UNDER_CONSTRAINED, mySketch, aDoF); - else if (aDoF == 0 && myDOF > 0) + else if (aDoF == 0/* && myDOF > 0*/) sendMessage(EVENT_SKETCH_FULLY_CONSTRAINED, mySketch, aDoF); else if (aDoF < 0) sendMessage(EVENT_SKETCH_OVER_CONSTRAINED, mySketch, aDoF); -- 2.39.2