diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-12-18 19:17:24 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-12-18 19:17:24 (GMT) |
commit | 541db676ee079eef7a6614cdd991514bf0c8ff52 (patch) | |
tree | 0fadc1e770b1d14f8ca72d3c3500c7ed391cfb26 | |
parent | fb28bc857649c2cab57476007e60827d7140c6f8 (diff) |
make view rotation work like 2011.06 release. (per Triffid Hunter bug rpt)
-rw-r--r-- | src/glview.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glview.cc b/src/glview.cc index 0c8394a..1dcddb7 100644 --- a/src/glview.cc +++ b/src/glview.cc @@ -388,12 +388,12 @@ void GLView::paintGL() gluLookAt(0.0, -viewer_distance, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0); - glTranslated(object_trans_x, object_trans_y, object_trans_z); - glRotated(object_rot_x, 1.0, 0.0, 0.0); 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) |