src/ldDocument.h

changeset 1031
55c0d3beea0d
parent 1017
fc1c13db9618
child 1059
7800dbb00632
--- a/src/ldDocument.h	Wed Feb 17 03:24:07 2016 +0200
+++ b/src/ldDocument.h	Wed Feb 17 19:54:21 2016 +0200
@@ -81,7 +81,7 @@
 	void initializeCachedData();
 	LDObjectList inlineContents (bool deep, bool renderinline);
 	QList<LDPolygon> inlinePolygons();
-	const QVector<Vertex>& inlineVertices();
+	const QSet<Vertex>& inlineVertices();
 	void insertObject (int pos, LDObject* obj);
 	bool isCache() const;
 	bool isSafeToClose();
@@ -122,8 +122,8 @@
 	int m_tabIndex;
 	int m_triangleCount;
 	QList<LDPolygon> m_polygonData;
-	QMap<LDObject*, QVector<Vertex>> m_objectVertices;
-	QVector<Vertex> m_vertices;
+	QMap<LDObject*, QSet<Vertex>> m_objectVertices;
+	QSet<Vertex> m_vertices;
 	LDObjectList m_sel;
 	LDGLData* m_gldata;
 	DocumentManager* m_manager;

mercurial