PartDesign/Gui: Move various utility stuff from Workbench to a separate file

Also do some header cleanup.
This commit is contained in:
Alexander Golubev
2015-08-09 16:35:23 +03:00
committed by Stefan Tröger
parent a5fcd5775e
commit c782a11aab
36 changed files with 548 additions and 474 deletions

View File

@@ -38,7 +38,7 @@
#include <Mod/PartDesign/App/BodyPy.h>
#include "ViewProviderBody.h"
#include "Workbench.h"
#include "Utils.h"
//static PyObject * setActiveBody(PyObject *self, PyObject *args)
@@ -92,7 +92,7 @@ static PyObject * setUpPart(PyObject *self, PyObject *args)
// Should be set!
assert(part);
PartDesignGui::Workbench::setUpPart(part);
PartDesignGui::setUpPart(part);
Py_Return;
}