Sat, 05 Mar 2022 12:47:10 +0200
fix crash when loading a file
`object` is moved so we cannot access it after moving
#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; QString iconName() const override; };