]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
NPAL19025: Crash with GetShapesOnPlaneWithLocation. BR_Dev_For_4_0
authorvtn <vtn@opencascade.com>
Mon, 3 Mar 2008 14:30:21 +0000 (14:30 +0000)
committervtn <vtn@opencascade.com>
Mon, 3 Mar 2008 14:30:21 +0000 (14:30 +0000)
src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cxx
src/GEOMAlgo/GEOMAlgo_FinderShapeOn2.cxx

index 6f9f6a0b45277d8fb301c663d30d7db19a375557..329303c107717ff2e99418da5ce4ec5adb7ff367 100644 (file)
@@ -545,7 +545,7 @@ void GEOMAlgo_FinderShapeOn1::InnerPoints(const TopoDS_Face& aF,
   aTRF=BRep_Tool::Triangulation(aF, aLoc);
   if (aTRF.IsNull()) {
     if (!GEOMAlgo_FinderShapeOn::BuildTriangulation(aF)) {
-      myErrorStatus=20; // no triangulation found
+      myWarningStatus=20; // no triangulation found
       return;
     }
     aTRF=BRep_Tool::Triangulation(aF, aLoc);
index ebc34e718699979dff1a592ba4c0fc66760ad69b..8647d47bf52bdc75ee0ff4500c3cb9f74ea1eebc 100644 (file)
   aTRF=BRep_Tool::Triangulation(aF, aLoc);
   if (aTRF.IsNull()) {
     if (!GEOMAlgo_FinderShapeOn::BuildTriangulation(aF)) {
-      myErrorStatus=20; // no triangulation found
+      myWarningStatus=20; // no triangulation found
       return;
     }
     aTRF=BRep_Tool::Triangulation(aF, aLoc);