--- a/src/editmodes/abstractEditMode.cpp Sun May 08 13:25:12 2016 +0300 +++ b/src/editmodes/abstractEditMode.cpp Sun May 08 15:26:58 2016 +0300 @@ -108,7 +108,7 @@ // Sort the vertices in order of distance to camera std::sort (vertices.begin(), vertices.end(), [&](const Vertex& a, const Vertex& b) -> bool { - if (renderer()->getFixedCamera (renderer()->camera()).negatedDepth) + if (renderer()->cameraInfo (renderer()->camera()).negatedDepth) return a[relZ] > b[relZ]; return a[relZ] < b[relZ];