src/lddocument.h

changeset 1391
5fa4bf1fc781
parent 1340
ea1b3ea9a3ca
child 1424
737df8e904af
--- a/src/lddocument.h	Wed May 30 22:31:06 2018 +0300
+++ b/src/lddocument.h	Mon Jun 04 23:12:40 2018 +0300
@@ -100,13 +100,13 @@
 	EditHistory* history() const;
 	void initializeCachedData();
 	void inlineContents(Model& model, bool deep, bool renderinline);
-	QList<LDPolygon> inlinePolygons();
+	QVector<LDPolygon> inlinePolygons();
 	const QSet<Vertex>& inlineVertices();
 	bool isFrozen() const;
 	bool isSafeToClose();
 	QString name() const;
 	void objectRemoved(LDObject* object, int index);
-	const QList<LDPolygon>& polygonData() const;
+	const QVector<LDPolygon>& polygonData() const;
 	void recountTriangles();
 	void redo();
 	void redoVertices();
@@ -139,7 +139,7 @@
 	long m_savePosition;
 	int m_tabIndex;
 	int m_triangleCount;
-	QList<LDPolygon> m_polygonData;
+	QVector<LDPolygon> m_polygonData;
 	QMap<LDObject*, QSet<Vertex>> m_objectVertices;
 	QSet<Vertex> m_vertices;
 	DocumentManager* m_manager;

mercurial