mirror of https://github.com/vitalif/openscad
Fixed rendering of crosshairs position
parent
a718c4a59d
commit
940946c060
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue