Tue, 28 Sep 2021 22:14:00 +0300
Fix memory corruption involving document tools.
I don't think that the metaobject-initialization had anything to do with this
but it is a lot simpler without it anyway.
#pragma once #include "polygonobject.h" namespace ldraw { class Quadrilateral; } class ldraw::Quadrilateral : public PolygonObject<4> { public: using PolygonObject<4>::PolygonObject; QString textRepresentation() const override; void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override; void invert() override; Type typeIdentifier() const override; QString toLDrawCode() const override; };