From 9851450174a0938a93a3fff548b8c305da5d2f8a Mon Sep 17 00:00:00 2001 From: jrheinlaender Date: Thu, 31 Oct 2013 17:29:26 +0100 Subject: [PATCH] Fixed bug in Body conversion code --- src/Mod/PartDesign/Gui/Workbench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/PartDesign/Gui/Workbench.cpp b/src/Mod/PartDesign/Gui/Workbench.cpp index 448757196..b43220610 100644 --- a/src/Mod/PartDesign/Gui/Workbench.cpp +++ b/src/Mod/PartDesign/Gui/Workbench.cpp @@ -272,9 +272,9 @@ void switchToDocument(const App::Document* doc) Gui::Command::doCommand(Gui::Command::Doc,"App.activeDocument().%s.Angle = 0.0",Datum.c_str()); Gui::Command::doCommand(Gui::Command::Doc,"App.activeDocument().%s.addFeature(App.activeDocument().%s)", activeBody->getNameInDocument(), Datum.c_str()); - Gui::Command::doCommand(Gui::Command::Gui,"App.activeDocument().recompute()"); // recompute the feature based on its references Gui::Command::doCommand(Gui::Command::Doc,"App.activeDocument().%s.Support = (App.activeDocument().%s,['%s'])", sketch->getNameInDocument(), Datum.c_str(), side.c_str()); + Gui::Command::doCommand(Gui::Command::Gui,"App.activeDocument().recompute()"); // recompute the feature based on its references Gui::Selection().clearSelection(); if (oldTip != NULL) {