add transform command to body
This commit is contained in:
@@ -134,6 +134,8 @@ void ViewProviderBody::setupContextMenu(QMenu* menu, QObject* receiver, const ch
|
||||
Gui::ActionFunction* func = new Gui::ActionFunction(menu);
|
||||
QAction* act = menu->addAction(tr("Toggle active body"));
|
||||
func->trigger(act, boost::bind(&ViewProviderBody::doubleClicked, this));
|
||||
|
||||
Gui::ViewProviderGeometryObject::setupContextMenu(menu, receiver, member);
|
||||
}
|
||||
|
||||
bool ViewProviderBody::doubleClicked(void)
|
||||
|
||||
Reference in New Issue
Block a user