Skip to content

Commit

Permalink
PartDesign: update primitives to use PartDesign::FeaturePy
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepSOIC authored and yorikvanhavre committed Mar 4, 2017
1 parent d9c803f commit 722ffe5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/PartDesign/App/FeaturePrimitive.cpp
Expand Up @@ -30,7 +30,7 @@
#include "DatumPoint.h"
#include "DatumCS.h"
#include <Mod/Part/App/modelRefine.h>
#include <Mod/Part/App/PartFeaturePy.h>
#include "FeaturePy.h"
#include <Base/Exception.h>
#include <Base/Tools.h>
#include <App/Document.h>
Expand Down Expand Up @@ -155,8 +155,8 @@ void FeaturePrimitive::onChanged(const App::Property* prop)
FeatureAddSub::onChanged(prop);
}

PYTHON_TYPE_DEF(PrimitivePy, Part::PartFeaturePy)
PYTHON_TYPE_IMP(PrimitivePy, Part::PartFeaturePy)
PYTHON_TYPE_DEF(PrimitivePy, PartDesign::FeaturePy)
PYTHON_TYPE_IMP(PrimitivePy, PartDesign::FeaturePy)

PyObject* FeaturePrimitive::getPyObject()
{
Expand Down

0 comments on commit 722ffe5

Please sign in to comment.