Allow inserting at the beginning of a body
This commit is contained in:
committed by
Stefan Tröger
parent
7983862b52
commit
999b1c028b
@@ -276,7 +276,8 @@ void Workbench::setupContextMenu(const char* recipient, Gui::MenuItem* item) con
|
||||
{
|
||||
if (strcmp(recipient,"Tree") == 0)
|
||||
{
|
||||
if (Gui::Selection().countObjectsOfType(PartDesign::Feature::getClassTypeId()) +
|
||||
if (Gui::Selection().countObjectsOfType(PartDesign::Body::getClassTypeId()) +
|
||||
Gui::Selection().countObjectsOfType(PartDesign::Feature::getClassTypeId()) +
|
||||
Gui::Selection().countObjectsOfType(Part::Datum::getClassTypeId()) +
|
||||
Gui::Selection().countObjectsOfType(Part::Part2DObject::getClassTypeId()) > 0 )
|
||||
*item << "PartDesign_MoveTip";
|
||||
|
||||
Reference in New Issue
Block a user