From 4dfc96e1024b30b0550880bba468f780ce8e92d1 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Mon, 25 May 2015 19:38:15 +0200 Subject: [PATCH] Bug fix: Point was created as construction on construction mode ============================================================== Points should not be construction points. --- src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp b/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp index 9d6b88601018..bf357ffcaa12 100644 --- a/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp +++ b/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp @@ -3737,14 +3737,7 @@ class DrawSketchHandlerPoint: public DrawSketchHandler Gui::Command::openCommand("Add sketch point"); Gui::Command::doCommand(Gui::Command::Doc,"App.ActiveDocument.%s.addGeometry(Part.Point(App.Vector(%f,%f,0)))", sketchgui->getObject()->getNameInDocument(), - EditPoint.fX,EditPoint.fY); - - if(geometryCreationMode==Construction) { - Gui::Command::doCommand(Gui::Command::Doc, - "App.ActiveDocument.%s.toggleConstruction(%d) ", - sketchgui->getObject()->getNameInDocument(), - currentgeoid+1); - } + EditPoint.fX,EditPoint.fY); Gui::Command::commitCommand(); Gui::Command::updateActive();