diff options
Diffstat (limited to 'src/glview.cc')
-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(); |