From 940946c060e682446994ba6b671ce7f6bd8b6da5 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 24 Apr 2012 01:20:48 +0200 Subject: Fixed rendering of crosshairs position diff --git a/src/glview.cc b/src/glview.cc index 0f9ec5b..5ff6c2c 100644 --- a/src/glview.cc +++ b/src/glview.cc @@ -393,8 +393,6 @@ void GLView::paintGL() glRotated(object_rot_y, 0.0, 1.0, 0.0); glRotated(object_rot_z, 0.0, 0.0, 1.0); - glTranslated(object_trans_x, object_trans_y, object_trans_z); - // FIXME: Crosshairs and axes are lighted, this doesn't make sense and causes them // to change color based on view orientation. if (showcrosshairs) @@ -412,6 +410,8 @@ void GLView::paintGL() glEnd(); } + glTranslated(object_trans_x, object_trans_y, object_trans_z); + // Large gray axis cross inline with the model // FIXME: This is always gray - adjust color to keep contrast with background if (showaxes) -- cgit v0.10.1