X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_STEPImport.cpp;h=1ba29f83df3813f4b89a04bed08deb8f940ea6a6;hb=8438647a5fb5186e3b5893fd69092792edef9ca8;hp=48f57b50beb28b53a9605a0af0aa89a3ebb93f9d;hpb=2d2d36748836e797e4efdbac65a0a4af3da593dc;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.cpp index 48f57b50b..1ba29f83d 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.cpp @@ -122,7 +122,6 @@ std::shared_ptr STEPImport(const std::string& theFileName, Standard_Integer nbs = aReader.NbShapes(); if (!ok || nbs == 0) { - // THROW_SALOME_CORBA_EXCEPTION("Exception catched in GEOM_Gen_i::ImportStep", SALOME::BAD_PARAM); continue; // skip empty root } /* For a single entity */ @@ -149,7 +148,6 @@ std::shared_ptr STEPImport(const std::string& theFileName, for (Standard_Integer i = 1; i <= nbs; i++) { TopoDS_Shape aShape = aReader.Shape(i); if (aShape.IsNull()) { - // THROW_SALOME_CORBA_EXCEPTION("Null shape in GEOM_Gen_i::ImportStep", SALOME::BAD_PARAM) ; //return aResShape; continue; }