From 606a112a125fcd683e0c2e112b8aa1309fb5ea76 Mon Sep 17 00:00:00 2001 From: Pawel Date: Tue, 17 Jul 2012 16:58:53 +0200 Subject: [PATCH] 0023311: Duplicated check in if-clause in ChFi2d_Builder_0.cxx Verifying that the second provided edge is neither a line nor a circle. --- src/ChFi2d/ChFi2d_Builder_0.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ChFi2d/ChFi2d_Builder_0.cxx b/src/ChFi2d/ChFi2d_Builder_0.cxx index a90e9b861d..9b1440acb9 100755 --- a/src/ChFi2d/ChFi2d_Builder_0.cxx +++ b/src/ChFi2d/ChFi2d_Builder_0.cxx @@ -172,7 +172,7 @@ TopoDS_Edge ChFi2d_Builder::AddChamfer(const TopoDS_Edge& E, } // if (IsAChamfer ... if (!IsLineOrCircle(adjEdge1,newFace) - || !IsLineOrCircle(adjEdge1,newFace) ) { + || !IsLineOrCircle(adjEdge2,newFace) ) { status = ChFi2d_NotAuthorized; return aChamfer; } // if (!IsLineOrCircle ... -- 2.39.5