Sketcher Geometry Extension
This commit is contained in:
@@ -114,6 +114,15 @@ void SketchGeometryExtension::Restore(Base::XMLReader &reader)
|
||||
id = reader.getAttributeAsInteger("id");
|
||||
}
|
||||
|
||||
std::unique_ptr<Part::GeometryExtension> SketchGeometryExtension::copy(void) const
|
||||
{
|
||||
std::unique_ptr<SketchGeometryExtension> cpy = std::make_unique<SketchGeometryExtension>();
|
||||
|
||||
cpy->id = this->id;
|
||||
|
||||
return std::move(cpy);
|
||||
}
|
||||
|
||||
PyObject * SketchGeometryExtension::getPyObject(void)
|
||||
{
|
||||
return 0;
|
||||
|
||||
@@ -52,6 +52,8 @@ public:
|
||||
virtual void Save(Base::Writer &/*writer*/) const;
|
||||
virtual void Restore(Base::XMLReader &/*reader*/);
|
||||
|
||||
virtual std::unique_ptr<Part::GeometryExtension> copy(void) const;
|
||||
|
||||
virtual PyObject *getPyObject(void);
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user