diff options
author | Marius Kintel <marius@kintel.net> | 2012-01-14 01:20:13 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-01-14 01:20:13 (GMT) |
commit | 26c9514b70cee4d49ea5441c50dabbda2631e9fa (patch) | |
tree | b58da23c3315302d68a5d98f1b8ca69c964b2f9c /src | |
parent | 9267b15bd715cf9a2b709a4e87a8e9f3a395a0f5 (diff) |
Fixed recently introduced problem with zoom not working if axes are turned off. Reported by nop head.
Diffstat (limited to 'src')
-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 65432c8..3d26fa5 100644 --- a/src/glview.cc +++ b/src/glview.cc @@ -377,8 +377,8 @@ void GLView::paintGL() { glEnable(GL_LIGHTING); - if (orthomode) - setupOrtho(viewer_distance); + if (orthomode) setupOrtho(viewer_distance); + else setupPerspective(); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); |