miscellaneous fixes

This commit is contained in:
jrheinlaender
2016-04-12 18:11:50 +02:00
committed by Stefan Tröger
parent f954a51430
commit cda9b57b6c
3 changed files with 10 additions and 3 deletions
+4 -1
View File
@@ -58,7 +58,10 @@ bool ViewProvider::doubleClicked(void)
// Drop into insert mode so that the user doesn't see all the geometry that comes later in the tree
// Also, this way the user won't be tempted to use future geometry as external references for the sketch
oldTip = ActivePartObject->Tip.getValue();
Gui::Command::doCommand(Gui::Command::Gui,"FreeCADGui.runCommand('PartDesign_MoveTip')");
if (oldTip != this->pcObject)
Gui::Command::doCommand(Gui::Command::Gui,"FreeCADGui.runCommand('PartDesign_MoveTip')");
else
oldTip = NULL;
} else {
oldTip = NULL;
}