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:
@@ -361,7 +361,7 @@ void BRepFill_TrimShellCorner::Perform()
|
|||||||
Standard_Integer anIndex1 = aDS.ShapeIndex(aF1, 1);
|
Standard_Integer anIndex1 = aDS.ShapeIndex(aF1, 1);
|
||||||
Standard_Integer anIndex2 = aDS.ShapeIndex(aF2, 2);
|
Standard_Integer anIndex2 = aDS.ShapeIndex(aF2, 2);
|
||||||
|
|
||||||
if((anIndex1 == 0) || (anIndex1 == 0))
|
if((anIndex1 == 0) || (anIndex2 == 0))
|
||||||
continue;
|
continue;
|
||||||
Standard_Integer i = 0;
|
Standard_Integer i = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user