Show the tool visualization.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-05-17 13:24:51 +03:00
parent 18d3a297cd
commit 970b876cf7
2 changed files with 3 additions and 2 deletions

View File

@ -1925,7 +1925,8 @@ void VToolOptionsPropertyBrowser::ShowOptionsToolCurveIntersectAxis(QGraphicsIte
//---------------------------------------------------------------------------------------------------------------------
void VToolOptionsPropertyBrowser::ShowOptionsToolRotation(QGraphicsItem *item)
{
VToolRotation *i = qgraphicsitem_cast<VToolRotation *>(item);
i->ShowVisualization(true);
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -620,7 +620,7 @@ void VToolRotation::SetVisualization()
visual->SetObjects(source);
visual->SetOriginPointId(origPointId);
visual->SetAngle(angle);
visual->SetAngle(qApp->TrVars()->FormulaToUser(angle));
visual->RefreshGeometry();
}
}