PartDesign: Fix body shape not updated

This commit is contained in:
Florian Foinant-Willig
2024-10-14 21:30:32 +02:00
committed by Chris Hennes
parent a22f1241cb
commit aa78eb351e

View File

@@ -111,8 +111,15 @@ bool TaskDlgFeatureParameters::accept()
if(isUpdateBlocked){
Gui::cmdAppDocument(feature, "recompute()");
} else {
// object was already computed
// object was already computed, nothing more to do with it...
Gui::cmdAppDocument(feature, "purgeTouched()");
// ...but touch parents to signal the change...
for (auto obj : feature->getInList()){
obj->touch();
}
// ...and recompute them
Gui::cmdAppDocument(feature->getDocument(), "recompute()");
}
if (!feature->isValid()) {