From aa78eb351ee5594e20dcec80dd72a2bc5297cc57 Mon Sep 17 00:00:00 2001 From: Florian Foinant-Willig Date: Mon, 14 Oct 2024 21:30:32 +0200 Subject: [PATCH] PartDesign: Fix body shape not updated --- src/Mod/PartDesign/Gui/TaskFeatureParameters.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Mod/PartDesign/Gui/TaskFeatureParameters.cpp b/src/Mod/PartDesign/Gui/TaskFeatureParameters.cpp index 7a0861863e..5551828935 100644 --- a/src/Mod/PartDesign/Gui/TaskFeatureParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskFeatureParameters.cpp @@ -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()) {