[TD]fix Symbol update on property change
This commit is contained in:
committed by
WandererFan
parent
f9bdc3aca7
commit
eca5ff6db7
@@ -67,6 +67,15 @@ std::vector<std::string> ViewProviderSymbol::getDisplayModes(void) const
|
||||
|
||||
void ViewProviderSymbol::updateData(const App::Property* prop)
|
||||
{
|
||||
if (prop == &getViewObject()->Scale) {
|
||||
onGuiRepaint(getViewObject());
|
||||
} else if (prop == &getViewObject()->Rotation) {
|
||||
onGuiRepaint(getViewObject());
|
||||
} else if (prop == &getViewObject()->Symbol) {
|
||||
onGuiRepaint(getViewObject());
|
||||
} else if (prop == &getViewObject()->EditableTexts) {
|
||||
onGuiRepaint(getViewObject());
|
||||
}
|
||||
ViewProviderDrawingView::updateData(prop);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user