[TD]fix Dimension/Balloon movement

This commit is contained in:
Wanderer Fan
2022-06-02 14:56:49 -04:00
committed by WandererFan
parent f966861a80
commit a799a5db66
8 changed files with 70 additions and 8 deletions

View File

@@ -139,7 +139,18 @@ void ViewProviderBalloon::unsetEdit(int ModNum)
void ViewProviderBalloon::updateData(const App::Property* p)
{
ViewProviderDrawingView::updateData(p);
//Balloon handles X,Y updates differently that other QGIView
//call QGIViewBalloon::updateView
if (p == &(getViewObject()->X) ||
p == &(getViewObject()->Y) ){
QGIView* qgiv = getQView();
if (qgiv) {
qgiv->updateView(true);
}
}
//Skip QGIView X,Y processing - do not call ViewProviderDrawingView
Gui::ViewProviderDocumentObject::updateData(p);
}
void ViewProviderBalloon::onChanged(const App::Property* p)