src/linetypes/modelobject.h

changeset 1400
ae83213bdd63
parent 1398
1c70d3447d20
child 1402
8bbf2af8c3f5
--- 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;

mercurial