Part Design: Remove legacy/modern workflow checks.
This commit is contained in:
committed by
Chris Hennes
parent
56ae35b0f2
commit
b1d5d4c105
@@ -83,13 +83,6 @@ void Workbench::setupContextMenu(const char* recipient, Gui::MenuItem* item) con
|
||||
App::DocumentObject *feature = selection.front().pObject;
|
||||
PartDesign::Body *body = nullptr;
|
||||
|
||||
// if PD workflow is not new-style then add a command to the context-menu
|
||||
bool assertModern = true;
|
||||
if (feature && !isModernWorkflow(feature->getDocument())) {
|
||||
assertModern = false;
|
||||
*item << "PartDesign_Migrate";
|
||||
}
|
||||
|
||||
body = PartDesignGui::getBodyFor (feature, false, false, assertModern);
|
||||
// lote of assertion so feature should be marked as a tip
|
||||
if ( selection.size () == 1 && feature && (
|
||||
|
||||
Reference in New Issue
Block a user