Update Workbench.cpp

This commit is contained in:
PaddleStroke
2024-10-23 11:39:33 +02:00
committed by Chris Hennes
parent b1d5d4c105
commit 66d50e9b6e

View File

@@ -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 ) ||