From f7233960d3c617449569c5c2ef966bd58b855a4e Mon Sep 17 00:00:00 2001 From: Pawel Date: Tue, 17 Jul 2012 15:31:40 +0200 Subject: [PATCH] 0023305: One index value verified twice in BRepFill_TrimShellCorner.cxx Verifying both affected indexes instead of one. --- src/BRepFill/BRepFill_TrimShellCorner.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5