Fix some build and runtime failures

This commit is contained in:
wmayer 2013-01-03 20:46:17 +01:00 committed by Stefan Tröger
parent fc7db6369c
commit cdd16de8e6
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <BRep_Builder.hxx>
# include <TopoDS_Compound.hxx>
#endif
#include <Base/Placement.h>

View File

@ -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();