fix dependent copy references

to make them work with sketches an additional Part2DObject reference needed to be created
This commit is contained in:
Stefan Tröger
2015-07-17 06:42:07 +02:00
parent 78f3e9786b
commit 9969aac671
10 changed files with 419 additions and 42 deletions

View File

@@ -28,7 +28,7 @@
#include <Base/Console.h>
#include <Base/Interpreter.h>
#include "FeaturePad.h"
#include "FeatureSolid.h"
#include "FeaturePocket.h"
@@ -56,6 +56,7 @@
#include "FeatureThickness.h"
#include "FeaturePipe.h"
#include "FeatureLoft.h"
#include "ShapeBinder.h"
namespace PartDesign {
extern PyObject* initModule();
@@ -81,7 +82,7 @@ PyMODINIT_FUNC init_PartDesign()
// NOTE: To finish the initialization of our own type objects we must
// call PyType_Ready, otherwise we run into a segmentation fault, later on.
// This function is responsible for adding inherited slots from a type's base class.
PartDesign::Feature ::init();
PartDesign::Solid ::init();
PartDesign::DressUp ::init();
@@ -109,6 +110,8 @@ PyMODINIT_FUNC init_PartDesign()
PartDesign::Loft ::init();
PartDesign::AdditiveLoft ::init();
PartDesign::SubtractiveLoft ::init();
PartDesign::ShapeBinder ::init();
PartDesign::ShapeBinder2D ::init();
PartDesign::Plane ::init();
PartDesign::Line ::init();
PartDesign::Point ::init();
@@ -139,5 +142,4 @@ PyMODINIT_FUNC init_PartDesign()
PartDesign::Wedge ::init();
PartDesign::AdditiveWedge ::init();
PartDesign::SubtractiveWedge ::init();
}