src/editmodes/abstractEditMode.cpp

changeset 1419
f7c53002a990
parent 1390
3eace926af7f
child 1431
2e0e2c696605
--- a/src/editmodes/abstractEditMode.cpp	Thu Jun 21 19:21:49 2018 +0300
+++ b/src/editmodes/abstractEditMode.cpp	Fri Jun 22 12:13:01 2018 +0300
@@ -117,7 +117,7 @@
 		Vertex cursorPosition = renderer()->currentCamera().convert2dTo3d(data.ev->pos());
 		QPoint cursorPosition2D = data.ev->pos();
 		const Axis depthAxis = renderer()->getRelativeZ();
-		QList<Vertex> vertices = currentDocument()->inlineVertices().toList();
+		QVector<Vertex> vertices = currentDocument()->inlineVertices().toList().toVector();
 
 		// Sort the vertices in order of distance to camera
 		sort(vertices.begin(), vertices.end(), [&](const Vertex& a, const Vertex& b) -> bool

mercurial