mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0023296: Not verifying method return flag
Checking the returned flag. If the method fails return.
This commit is contained in:
parent
72d873ef3a
commit
8fb480b35a
@ -510,6 +510,9 @@ Standard_Boolean BOPTools_Tools3D::DoSplitSEAMOnFace(const TopoDS_Edge& theSplit
|
||||
gp_Dir aDT1(aV1);
|
||||
//
|
||||
aFlag=aContext->ProjectPointOnEdge(aP, aEF2, aT2);
|
||||
if(!aFlag) {
|
||||
return Standard_False;
|
||||
}
|
||||
//
|
||||
aFlag=BOPTools_Tools2D::EdgeTangent(aEF2, aT2, aV2);
|
||||
if(!aFlag) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user