X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FBOPAlgo%2FBOPAlgo_CheckerSI.cxx;h=859b5c9be666de39f9fd38fcfdb40e5fa01acb33;hp=c6aa13319449b7dc91a5c4327ab8e371acc6ec90;hb=63def8e679332efb5a3205eb437e19fd375c7574;hpb=6268cc68d7e29f3762e60b32a7efac7dd8d11638 diff --git a/src/BOPAlgo/BOPAlgo_CheckerSI.cxx b/src/BOPAlgo/BOPAlgo_CheckerSI.cxx index c6aa133194..859b5c9be6 100644 --- a/src/BOPAlgo/BOPAlgo_CheckerSI.cxx +++ b/src/BOPAlgo/BOPAlgo_CheckerSI.cxx @@ -126,6 +126,8 @@ void BOPAlgo_CheckerSI::Init() void BOPAlgo_CheckerSI::Perform() { try { + Standard_Integer iErr; + // OCC_CATCH_SIGNALS // myErrorStatus=0; @@ -142,37 +144,43 @@ void BOPAlgo_CheckerSI::Perform() } // BOPAlgo_PaveFiller::Perform(); + iErr=myErrorStatus; // - if (!myErrorStatus) { - PerformVZ(); + PerformVZ(); + if (myErrorStatus) { + iErr=myErrorStatus; } // - if (!myErrorStatus) { - PerformEZ(); - } + PerformEZ(); + if (myErrorStatus) { + iErr=myErrorStatus; + } // - if (!myErrorStatus) { - PerformFZ(); + PerformFZ(); + if (myErrorStatus) { + iErr=myErrorStatus; } // - if (!myErrorStatus) { - PerformZZ(); + PerformZZ(); + if (myErrorStatus) { + iErr=myErrorStatus; } // - if (!myErrorStatus) { - PostTreat(); + PostTreat(); + if (myErrorStatus) { + iErr=myErrorStatus; } // if (myNonDestructive) { - Standard_Integer iErr; - // - iErr=myErrorStatus; - // PostTreatCopy(); - if (!myErrorStatus) { - myErrorStatus=iErr; + if (myErrorStatus) { + iErr=myErrorStatus; } } + // + if (iErr) { + myErrorStatus=iErr; + } } // catch (Standard_Failure) { @@ -183,7 +191,6 @@ void BOPAlgo_CheckerSI::Perform() myErrorStatus=11; } } - //======================================================================= //function : PostTreat //purpose :