From: Pawel Date: Tue, 17 Jul 2012 13:31:40 +0000 (+0200) Subject: 0023305: One index value verified twice in BRepFill_TrimShellCorner.cxx X-Git-Tag: V6_5_4_beta1~123 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=f7233960d3c617449569c5c2ef966bd58b855a4e;p=occt-copy.git 0023305: One index value verified twice in BRepFill_TrimShellCorner.cxx Verifying both affected indexes instead of one. --- diff --git a/src/BRepFill/BRepFill_TrimShellCorner.cxx b/src/BRepFill/BRepFill_TrimShellCorner.cxx index 331ac6e09b..6ae40d8c58 100755 --- a/src/BRepFill/BRepFill_TrimShellCorner.cxx +++ b/src/BRepFill/BRepFill_TrimShellCorner.cxx @@ -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;