Work on reference selection for Datum features

This commit is contained in:
jrheinlaender
2013-04-13 15:55:13 +04:30
committed by Stefan Tröger
parent 571d5d2b7d
commit a1359fc9e9
8 changed files with 250 additions and 162 deletions

View File

@@ -270,8 +270,6 @@ void Workbench::activated()
if (activeBody != NULL) {
Gui::Command::doCommand(Gui::Command::Doc,"import PartDesignGui");
Gui::Command::doCommand(Gui::Command::Gui,"PartDesignGui.setActivePart(App.activeDocument().%s)", activeBody->getNameInDocument());
// Move selection to the Tip feature so that the user can start creating new features right away
Gui::Command::doCommand(Gui::Command::Gui,"Gui.Selection.addSelection(App.ActiveDocument.%s.Tip)", activeBody->getNameInDocument());
}
addTaskWatcher(Watcher);