diff -r 795d1c3554b9 -r 15e46ea3151f src/editmodes/circleMode.cpp --- a/src/editmodes/circleMode.cpp Fri Feb 10 23:06:24 2017 +0200 +++ b/src/editmodes/circleMode.cpp Sun Feb 12 16:02:02 2017 +0200 @@ -71,13 +71,13 @@ { 0, 1, 0, 2, 0, 0, 0, 0, 2 }, }; - Matrix transform = templates[renderer()->camera() % 3]; + Matrix transform = templates[static_cast(renderer()->camera()) % 3]; for (double& value : transform) { if (value == 2) value = scale; - else if (value == 1 and renderer()->camera() >= 3) + else if (value == 1 and static_cast(renderer()->camera()) >= 3) value = -1; } @@ -164,7 +164,7 @@ quad->setColor(MainColor); // Ensure the quads always are BFC-front towards the camera - if (renderer()->camera() % 3 <= 0) + if (static_cast(renderer()->camera()) % 3 <= 0) quad->invert(); } }