From 874a9230969c0c2ec965ce179c10bec34c6b32ba Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 23 Feb 2014 14:25:15 -0800 Subject: [PATCH] Remove legacy reference to draw-otw --- src/Viewer/viewer.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Viewer/viewer.cxx b/src/Viewer/viewer.cxx index dc95cff12..a18c51b23 100644 --- a/src/Viewer/viewer.cxx +++ b/src/Viewer/viewer.cxx @@ -659,10 +659,9 @@ FGViewer::update (double dt) } } recalc(); - if( fgGetBool( "/sim/rendering/draw-otw", true ) ) { - _cameraGroup->update(toOsg(_absolute_view_pos), toOsg(mViewOrientation)); - _cameraGroup->setCameraParameters(get_v_fov(), get_aspect_ratio()); - } + + _cameraGroup->update(toOsg(_absolute_view_pos), toOsg(mViewOrientation)); + _cameraGroup->setCameraParameters(get_v_fov(), get_aspect_ratio()); } double FGViewer::get_aspect_ratio() const