[TD] add missing repaints for DrawView
- this enables to see e.g. changes of the rotation of all kinds of views directly - also fix a bug, see https://forum.freecadweb.org/viewtopic.php?f=35&t=44571
This commit is contained in:
@@ -144,6 +144,15 @@ void DrawView::onChanged(const App::Property* prop)
|
||||
handleXYLock();
|
||||
LockPosition.purgeTouched();
|
||||
}
|
||||
if ((prop == &Caption) ||
|
||||
(prop == &Label)) {
|
||||
requestPaint();
|
||||
} // rotation and scaling requires recompute
|
||||
else if ((prop == &Rotation) ||
|
||||
(prop == &Scale) ||
|
||||
(prop == &ScaleType)) {
|
||||
recompute();
|
||||
}
|
||||
}
|
||||
App::DocumentObject::onChanged(prop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user