]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
PAL12612: Message with Partition. Prevent meaningless message appearance.
authorjfa <jfa@opencascade.com>
Thu, 15 Jun 2006 13:45:46 +0000 (13:45 +0000)
committerjfa <jfa@opencascade.com>
Thu, 15 Jun 2006 13:45:46 +0000 (13:45 +0000)
src/NMTAlgo/NMTAlgo_Splitter.cxx
src/NMTTools/NMTTools_PaveFiller.cxx

index 268da634a0a96b1ba15b63b80acb275a4868c1a6..a922453462424076a201a51c19a574b0e8972418 100644 (file)
@@ -309,12 +309,18 @@ static
     return;
   }
   //
-  if (!mySourceShapes.Extent()){
+  if (!mySourceShapes.Extent()) {
     // No source shapes to treat
     myErrorStatus=103; 
     return;
   }
   //
+  if (!aDSF.IsDone()) {
+    // NMTTools_DSFiller failed
+    myErrorStatus=104; 
+    return;
+  }
+  //
   NMTAlgo_Builder::ComputeWithFiller(aDSF);
   //
   myIsComputed=Standard_True;
@@ -622,3 +628,4 @@ static
 // 101 - Null shape is not allowed here
 // 102 - DS is not computed
 // 103 - No source shapes to treat
+// 104 - NMTTools_DSFiller failed
index cfbd9d0f7d937f96e68b340d97de83439f3a9f61..c3a4f96954404f746dd8d139f7adb9ad3e0bb963 100644 (file)
     NMTTools_DEProcessor aDEP(*this);
     aDEP.Do();
     //
+    myIsDone = Standard_True;
   }
   catch (BOPTColStd_Failure& /*x*/) {
     //QQ MESSAGE(x.Message() << flush);
+    myIsDone = Standard_False;
   }
 }