From: azv Date: Wed, 23 Dec 2015 10:57:40 +0000 (+0300) Subject: Switch off silent removing points of entities in SolveSpace solver (issue #1164) X-Git-Tag: V_2.1.0~97 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=592f1c09f62a6a103ee3f3598c18e0e7fd242ccc;p=modules%2Fshaper.git Switch off silent removing points of entities in SolveSpace solver (issue #1164) --- diff --git a/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.cpp b/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.cpp index 5398c8870..61ceb9304 100644 --- a/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.cpp +++ b/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.cpp @@ -677,9 +677,6 @@ bool SolveSpaceSolver_Storage::removeEntity(const Slvs_hEntity& theEntityID) for (int i = 0; i < 4; i++) if (anEntity.param[i] != SLVS_E_UNKNOWN) aResult = removeParameter(anEntity.param[i]) && aResult; - for (int i = 0; i < 4; i++) - if (anEntity.point[i] != SLVS_E_UNKNOWN) - aResult = removeEntity(anEntity.point[i]) && aResult; myNeedToResolve = true; } return aResult;