src/editmodes/abstractEditMode.cpp

changeset 1031
55c0d3beea0d
parent 1023
9450ac3cd930
child 1033
32153a1dbb15
--- a/src/editmodes/abstractEditMode.cpp	Wed Feb 17 03:24:07 2016 +0200
+++ b/src/editmodes/abstractEditMode.cpp	Wed Feb 17 19:54:21 2016 +0200
@@ -103,7 +103,7 @@
 		Vertex			cursorPosition = renderer()->convert2dTo3d (data.ev->pos(), false);
 		QPoint			cursorPosition2D (data.ev->pos());
 		const Axis		relZ = renderer()->getRelativeZ();
-		QVector<Vertex>	vertices = renderer()->document()->inlineVertices();
+		QList<Vertex>	vertices = renderer()->document()->inlineVertices().toList();
 
 		// Sort the vertices in order of distance to camera
 		std::sort (vertices.begin(), vertices.end(), [&](const Vertex& a, const Vertex& b) -> bool

mercurial