Clean up children on Page delete

This commit is contained in:
WandererFan
2017-01-07 14:20:17 -05:00
parent d6419b5a7e
commit faf7f7729f
5 changed files with 66 additions and 5 deletions

View File

@@ -135,12 +135,15 @@ public:
}
//return PyObject as DrawViewPartPy
virtual PyObject *getPyObject(void);
bool isDeleting(void) { return nowDeleting; }
protected:
TechDrawGeometry::GeometryObject *geometryObject;
Base::BoundBox3d bbox;
void onChanged(const App::Property* prop);
virtual void unsetupObject();
virtual TechDrawGeometry::GeometryObject* buildGeometryObject(TopoDS_Shape shape, gp_Ax2 viewAxis);
void extractFaces();
@@ -156,6 +159,7 @@ protected:
bool m_handleFaces;
private:
bool nowDeleting;
};