From: azv Date: Wed, 29 Aug 2018 10:04:07 +0000 (+0300) Subject: Issue #2522: DoF is 0 but the sketch is not displayed in green X-Git-Tag: SHAPER_V9_1_0RC1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3ea24ee33413ac77fdc8cd3ad63c0fde5da00c11;p=modules%2Fshaper.git Issue #2522: DoF is 0 but the sketch is not displayed in green Send message of fully constrained sketch each time it is recomputed. --- 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);