From 7d03751e57c4aacf5513726dcf918c9b518ea25e Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 3 Jan 2013 20:46:17 +0100 Subject: [PATCH] Fix some build and runtime failures --- src/Mod/Assembly/App/ItemAssembly.cpp | 1 + src/Mod/PartDesign/Gui/Workbench.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Mod/Assembly/App/ItemAssembly.cpp b/src/Mod/Assembly/App/ItemAssembly.cpp index e6e6563a84..6ae738e6bf 100644 --- a/src/Mod/Assembly/App/ItemAssembly.cpp +++ b/src/Mod/Assembly/App/ItemAssembly.cpp @@ -24,6 +24,7 @@ #include "PreCompiled.h" #ifndef _PreComp_ # include +# include #endif #include diff --git a/src/Mod/PartDesign/Gui/Workbench.cpp b/src/Mod/PartDesign/Gui/Workbench.cpp index 380f227551..c380e13544 100644 --- a/src/Mod/PartDesign/Gui/Workbench.cpp +++ b/src/Mod/PartDesign/Gui/Workbench.cpp @@ -161,6 +161,7 @@ void Workbench::deactivated() else oldActive = ""; // reset the active Body + Gui::Command::doCommand(Gui::Command::Doc,"import PartDesignGui"); Gui::Command::doCommand(Gui::Command::Doc,"PartDesignGui.setActivePart(None)"); Gui::Workbench::deactivated();