After refreshing arc visualization get wrong f1 and f2 angels.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-02-11 16:45:35 +02:00
parent d550d27d99
commit fb8dca8452

View File

@ -389,8 +389,8 @@ void VToolArc::RefreshGeometry()
visual->setPoint1Id(arc->GetCenter().id()); visual->setPoint1Id(arc->GetCenter().id());
visual->setRadius(qApp->FormulaToUser(arc->GetFormulaRadius())); visual->setRadius(qApp->FormulaToUser(arc->GetFormulaRadius()));
visual->setF1(arc->GetFormulaF1()); visual->setF1(qApp->FormulaToUser(arc->GetFormulaF1()));
visual->setF2(arc->GetFormulaF2()); visual->setF2(qApp->FormulaToUser(arc->GetFormulaF2()));
visual->RefreshGeometry(); visual->RefreshGeometry();
} }
} }