Update Workbench.cpp

This commit is contained in:
PaddleStroke
2024-10-24 21:54:02 -05:00
committed by Chris Hennes
parent 8780c645b7
commit 4432d6dc16
+1 -1
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 ) ||