Sketcher Geometry Extension

This commit is contained in:
Abdullah Tahiri
2019-01-14 17:06:42 +01:00
committed by wmayer
parent 55be6fdb7f
commit 11478f4951
2 changed files with 11 additions and 0 deletions

View File

@@ -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;

View File

@@ -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: