PAL12612: Message with Partition. Prevent meaningless message appearance.

This commit is contained in:
jfa 2006-06-15 13:45:46 +00:00
parent c2ae4af70b
commit 6a137c7733
2 changed files with 10 additions and 1 deletions

View 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

View File

@ -224,8 +224,10 @@
NMTTools_DEProcessor aDEP(*this);
aDEP.Do();
//
myIsDone = Standard_True;
}
catch (BOPTColStd_Failure& /*x*/) {
//QQ MESSAGE(x.Message() << flush);
myIsDone = Standard_False;
}
}