]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Switch off silent removing points of entities in SolveSpace solver (issue #1164)
authorazv <azv@opencascade.com>
Wed, 23 Dec 2015 10:57:40 +0000 (13:57 +0300)
committerazv <azv@opencascade.com>
Wed, 23 Dec 2015 10:58:01 +0000 (13:58 +0300)
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.cpp

index 5398c8870795ca7cec95433d42002fe31fae7cba..61ceb93042dfe3cd2149adcf91d25d2ddc225ff3 100644 (file)
@@ -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;