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

0023305: One index value verified twice in BRepFill_TrimShellCorner.cxx

Verifying both affected indexes instead of one.
This commit is contained in:
Pawel
2012-07-17 15:31:40 +02:00
committed by Pawel Kowalski
parent 431258f747
commit f7233960d3

View File

@@ -361,7 +361,7 @@ void BRepFill_TrimShellCorner::Perform()
Standard_Integer anIndex1 = aDS.ShapeIndex(aF1, 1);
Standard_Integer anIndex2 = aDS.ShapeIndex(aF2, 2);
if((anIndex1 == 0) || (anIndex1 == 0))
if((anIndex1 == 0) || (anIndex2 == 0))
continue;
Standard_Integer i = 0;