Fixed setting f1 and f2 angles for arc visualization.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-02-11 15:13:17 +02:00
parent c4c03e1d3e
commit d550d27d99

View File

@ -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;
}