From 26c9514b70cee4d49ea5441c50dabbda2631e9fa Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sat, 14 Jan 2012 02:20:13 +0100 Subject: Fixed recently introduced problem with zoom not working if axes are turned off. Reported by nop head. 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(); -- cgit v0.10.1