1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +03:00

0028849: [Regression to 7.1.0] Exception in Boolean operation

The reason of exception has been eliminated.
This commit is contained in:
nbv
2017-06-16 12:21:57 +03:00
committed by bugmaster
parent c1a688e9fb
commit e9a7ec7a2b
2 changed files with 29 additions and 1 deletions

View File

@@ -3212,7 +3212,7 @@ static IntPatch_ImpImpIntersection::IntStatus
Standard_Boolean isChanged = Standard_False;
for (Standard_Integer i = 0; i < aNbWLines; i++)
{
if (aWLFindStatus[i] == WLFStatus_Absent)
if ((aWLFindStatus[i] == WLFStatus_Absent) || (aWLine[i]->NbPnts() == 0))
continue;
Standard_Real aU1c = 0.0, aV1c = 0.0;