Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/geom.git] / src / NMTAlgo / NMTAlgo_Splitter.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