--- a/src/linetypes/modelobject.h Sun Jun 10 17:17:42 2018 +0300 +++ b/src/linetypes/modelobject.h Sun Jun 10 21:48:58 2018 +0300 @@ -65,7 +65,7 @@ virtual QString asText() const = 0; // This object as LDraw code LDColor color() const; virtual LDColor defaultColor() const; // What color does the object default to? - LDPolygon* getPolygon(); + LDPolygon getPolygon(); virtual void getVertices (DocumentManager *context, QSet<Vertex>& verts) const; virtual bool hasMatrix() const; // Does this object have a matrix and position? (see LDMatrixObject) virtual bool isColored() const;