mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-16 02:31:27 +05:00
PAL12612: Message with Partition. Prevent meaningless message appearance.
This commit is contained in:
parent
c2ae4af70b
commit
6a137c7733
@ -309,12 +309,18 @@ static
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
if (!mySourceShapes.Extent()){
|
if (!mySourceShapes.Extent()) {
|
||||||
// No source shapes to treat
|
// No source shapes to treat
|
||||||
myErrorStatus=103;
|
myErrorStatus=103;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
if (!aDSF.IsDone()) {
|
||||||
|
// NMTTools_DSFiller failed
|
||||||
|
myErrorStatus=104;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
//
|
||||||
NMTAlgo_Builder::ComputeWithFiller(aDSF);
|
NMTAlgo_Builder::ComputeWithFiller(aDSF);
|
||||||
//
|
//
|
||||||
myIsComputed=Standard_True;
|
myIsComputed=Standard_True;
|
||||||
@ -622,3 +628,4 @@ static
|
|||||||
// 101 - Null shape is not allowed here
|
// 101 - Null shape is not allowed here
|
||||||
// 102 - DS is not computed
|
// 102 - DS is not computed
|
||||||
// 103 - No source shapes to treat
|
// 103 - No source shapes to treat
|
||||||
|
// 104 - NMTTools_DSFiller failed
|
||||||
|
@ -224,8 +224,10 @@
|
|||||||
NMTTools_DEProcessor aDEP(*this);
|
NMTTools_DEProcessor aDEP(*this);
|
||||||
aDEP.Do();
|
aDEP.Do();
|
||||||
//
|
//
|
||||||
|
myIsDone = Standard_True;
|
||||||
}
|
}
|
||||||
catch (BOPTColStd_Failure& /*x*/) {
|
catch (BOPTColStd_Failure& /*x*/) {
|
||||||
//QQ MESSAGE(x.Message() << flush);
|
//QQ MESSAGE(x.Message() << flush);
|
||||||
|
myIsDone = Standard_False;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user