Ensure only a single PartDesign feature is visible

This commit is contained in:
Stefan Tröger
2016-01-03 23:08:02 +01:00
parent f392ed30d2
commit 73ab046ad6
3 changed files with 30 additions and 3 deletions

View File

@@ -461,9 +461,6 @@ void CmdPartDesignMoveTip::activated(int iMsg)
}
openCommand("Move tip to selected feature");
if (oldTip) {
doCommand(Gui, "Gui.activeDocument().hide(\"%s\")", oldTip->getNameInDocument() );
}
if (selFeature == body) {
doCommand(Doc,"App.activeDocument().%s.Tip = None", body->getNameInDocument());