Fixed rendering of crosshairs position

felipesanches-svg
Clifford Wolf 2012-04-24 01:20:48 +02:00
parent a718c4a59d
commit 940946c060
1 changed files with 2 additions and 2 deletions

View File

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