From 8983c41c24843aadd99b8bb75b4628541df7eccf Mon Sep 17 00:00:00 2001 From: mkv Date: Fri, 24 Aug 2012 17:34:08 +0400 Subject: [PATCH] 0023357: The 'then' statement is equivalent to the 'else' statement. --- src/QABugs/QABugs_11.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/QABugs/QABugs_11.cxx b/src/QABugs/QABugs_11.cxx index 1346e3f4ac..8f11173c1e 100644 --- a/src/QABugs/QABugs_11.cxx +++ b/src/QABugs/QABugs_11.cxx @@ -2211,8 +2211,8 @@ static Standard_Integer OCC1487 (Draw_Interpretor& di, Standard_Integer argc, co } } else { //BRepPrimAPI_MakeCylinder o_mc2 (gp_Ax2 (gp_Pnt(978.34936, -50.0, 127.5),gp_Dir(sin(M_PI/3), 0.0, 0.5)), 5, 150); - gp_Dir myDir_mc2(-sin(M_PI/3), 0.0, 0.5); - gp_Pnt myPnt_mc2(21.65064, -50.0, 127.5); + gp_Dir myDir_mc2(sin(M_PI/3), 0.0, 0.5); + gp_Pnt myPnt_mc2(978.34936, -50.0, 127.5); gp_Ax2 myAx2_mc2(myPnt_mc2, myDir_mc2); BRepPrimAPI_MakeCylinder o_mc2 (myAx2_mc2, 5, 150);