Gui: Clear cached shape after change to Deviation

This commit is contained in:
Kacper Donat
2026-03-02 11:12:36 -06:00
committed by Chris Hennes
parent 617db3a2d4
commit 2fb271ff28
+2
View File
@@ -319,6 +319,7 @@ void ViewProviderPartExt::onChanged(const App::Property* prop)
// to freeze the GUI
// https://forum.freecad.org/viewtopic.php?f=3&t=24912&p=195613
if (prop == &Deviation) {
lastRenderedShape = {};
if (isUpdateForced() || Visibility.getValue()) {
updateVisual();
}
@@ -327,6 +328,7 @@ void ViewProviderPartExt::onChanged(const App::Property* prop)
}
}
if (prop == &AngularDeflection) {
lastRenderedShape = {};
if (isUpdateForced() || Visibility.getValue()) {
updateVisual();
}