Fix some build and runtime failures
This commit is contained in:
parent
fc7db6369c
commit
cdd16de8e6
|
@ -24,6 +24,7 @@
|
|||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <BRep_Builder.hxx>
|
||||
# include <TopoDS_Compound.hxx>
|
||||
#endif
|
||||
|
||||
#include <Base/Placement.h>
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user