From 381dcfe7e397c23c0626f07695764a7122ea3576 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 10 Feb 2016 15:34:54 -0200 Subject: [PATCH] Draft: Fixed problem with addPoint and delPoint buttons --- src/Mod/Draft/DraftTools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/DraftTools.py b/src/Mod/Draft/DraftTools.py index ecbffe69fc..cf598d0491 100644 --- a/src/Mod/Draft/DraftTools.py +++ b/src/Mod/Draft/DraftTools.py @@ -3921,8 +3921,8 @@ class AddPoint(Modifier): selection = FreeCADGui.Selection.getSelection() if selection: if (Draft.getType(selection[0]) in ['Wire','BSpline']): - FreeCADGui.draftToolBar.vertUi(True) FreeCADGui.runCommand("Draft_Edit") + FreeCADGui.draftToolBar.vertUi(True) class DelPoint(Modifier): @@ -3946,8 +3946,8 @@ class DelPoint(Modifier): selection = FreeCADGui.Selection.getSelection() if selection: if (Draft.getType(selection[0]) in ['Wire','BSpline']): - FreeCADGui.draftToolBar.vertUi(False) FreeCADGui.runCommand("Draft_Edit") + FreeCADGui.draftToolBar.vertUi(False) class WireToBSpline(Modifier):