Gui: Clear cached shape after change to Deviation

(cherry picked from commit 2fb271ff28)
This commit is contained in:
Kacper Donat
2026-02-27 22:59:52 +01:00
committed by github-actions[bot]
parent c8547e1e9f
commit b65541f24f
+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();
}