Sketcher Geometry Extension

This commit is contained in:
Abdullah Tahiri
2019-01-14 17:06:42 +01:00
committed by wmayer
parent aedfb6a6a3
commit b778e21b45
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;