--- 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