From 66d50e9b6ec0fd2ecf2c5b0bda15f654dc7b5710 Mon Sep 17 00:00:00 2001 From: PaddleStroke Date: Wed, 23 Oct 2024 11:39:33 +0200 Subject: [PATCH] Update Workbench.cpp --- src/Mod/PartDesign/Gui/Workbench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/PartDesign/Gui/Workbench.cpp b/src/Mod/PartDesign/Gui/Workbench.cpp index 5fa8e456e5..09263213b5 100644 --- a/src/Mod/PartDesign/Gui/Workbench.cpp +++ b/src/Mod/PartDesign/Gui/Workbench.cpp @@ -83,7 +83,7 @@ void Workbench::setupContextMenu(const char* recipient, Gui::MenuItem* item) con App::DocumentObject *feature = selection.front().pObject; PartDesign::Body *body = nullptr; - body = PartDesignGui::getBodyFor (feature, false, false, assertModern); + body = PartDesignGui::getBodyFor (feature, false, false, true); // lote of assertion so feature should be marked as a tip if ( selection.size () == 1 && feature && ( ( feature->isDerivedFrom ( PartDesign::Feature::getClassTypeId () ) && body ) ||