X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_IGESExport.cpp;h=c4d9add35d01336f89341f2061786c1be8314968;hb=580f1752efd9d3e8c2890c4016b04dafd639bab7;hp=b91780545377145b6981fc355948d0aa128f4aab;hpb=caa4d861f0489d16238a3229795dd8216f08069e;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_IGESExport.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_IGESExport.cpp index b91780545..c4d9add35 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_IGESExport.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_IGESExport.cpp @@ -134,7 +134,7 @@ bool IGESExport(const std::string& theFileName, // perform shape writing if( ICW.AddShape( theShape->impl() ) ) { ICW.ComputeModel(); - return ICW.Write(theFileName.c_str()); + return ICW.Write(theFileName.c_str()) == Standard_True; } return false; }