From d550d27d99cb22b434c1a5061281b8686777b260 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 11 Feb 2015 15:13:17 +0200 Subject: [PATCH] Fixed setting f1 and f2 angles for arc visualization. --HG-- branch : develop --- src/app/tools/drawTools/vtoolarc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/tools/drawTools/vtoolarc.cpp b/src/app/tools/drawTools/vtoolarc.cpp index 332006ebc..d672b6561 100644 --- a/src/app/tools/drawTools/vtoolarc.cpp +++ b/src/app/tools/drawTools/vtoolarc.cpp @@ -301,8 +301,8 @@ void VToolArc::ShowVisualization(bool show) visual->setPoint1Id(arc->GetCenter().id()); visual->setRadius(qApp->FormulaToUser(arc->GetFormulaRadius())); - visual->setF1(arc->GetFormulaF1()); - visual->setF2(arc->GetFormulaF2()); + visual->setF1(qApp->FormulaToUser(arc->GetFormulaF1())); + visual->setF2(qApp->FormulaToUser(arc->GetFormulaF2())); visual->RefreshGeometry(); vis = visual; }