[TD]fix Rotation not applied

This commit is contained in:
Wanderer Fan
2022-06-01 19:50:47 -04:00
committed by WandererFan
parent 78c22e33de
commit 9194d5c596
3 changed files with 2 additions and 9 deletions

View File

@@ -214,14 +214,6 @@ void ViewProviderDrawingView::finishRestoring()
void ViewProviderDrawingView::updateData(const App::Property* prop)
{
//redrawn the whole view on Rotation change
if (prop == &(getViewObject()->Rotation)) {
QGIView* qgiv = getQView();
if (qgiv) {
qgiv->updateView(true);
}
}
//only move the view on X,Y change
if (prop == &(getViewObject()->X) ||
prop == &(getViewObject()->Y) ){