Allow moving features between bodies from context menu of tree view

This commit is contained in:
jrheinlaender
2013-07-14 08:59:49 +02:00
committed by Stefan Tröger
parent 12bf1d58f6
commit be7c6adc21
3 changed files with 88 additions and 1 deletions

View File

@@ -280,7 +280,8 @@ void Workbench::setupContextMenu(const char* recipient, Gui::MenuItem* item) con
Gui::Selection().countObjectsOfType(PartDesign::Feature::getClassTypeId()) +
Gui::Selection().countObjectsOfType(Part::Datum::getClassTypeId()) +
Gui::Selection().countObjectsOfType(Part::Part2DObject::getClassTypeId()) > 0 )
*item << "PartDesign_MoveTip";
*item << "PartDesign_MoveTip"
<< "PartDesign_MoveFeature";
}
}