fix dependent copy references
to make them work with sketches an additional Part2DObject reference needed to be created
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user