Show the tool visualization.
--HG-- branch : feature
This commit is contained in:
parent
18d3a297cd
commit
970b876cf7
|
@ -1925,7 +1925,8 @@ void VToolOptionsPropertyBrowser::ShowOptionsToolCurveIntersectAxis(QGraphicsIte
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VToolOptionsPropertyBrowser::ShowOptionsToolRotation(QGraphicsItem *item)
|
||||
{
|
||||
|
||||
VToolRotation *i = qgraphicsitem_cast<VToolRotation *>(item);
|
||||
i->ShowVisualization(true);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -620,7 +620,7 @@ void VToolRotation::SetVisualization()
|
|||
|
||||
visual->SetObjects(source);
|
||||
visual->SetOriginPointId(origPointId);
|
||||
visual->SetAngle(angle);
|
||||
visual->SetAngle(qApp->TrVars()->FormulaToUser(angle));
|
||||
visual->RefreshGeometry();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user