1
0
Fork 0

Remove legacy reference to draw-otw

This commit is contained in:
James Turner 2014-02-23 14:25:15 -08:00
parent d035fdf3a9
commit 874a923096

View file

@ -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());
}
}
double FGViewer::get_aspect_ratio() const