Remove legacy reference to draw-otw
This commit is contained in:
parent
d035fdf3a9
commit
874a923096
1 changed files with 3 additions and 4 deletions
|
@ -659,10 +659,9 @@ FGViewer::update (double dt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
recalc();
|
recalc();
|
||||||
if( fgGetBool( "/sim/rendering/draw-otw", true ) ) {
|
|
||||||
_cameraGroup->update(toOsg(_absolute_view_pos), toOsg(mViewOrientation));
|
_cameraGroup->update(toOsg(_absolute_view_pos), toOsg(mViewOrientation));
|
||||||
_cameraGroup->setCameraParameters(get_v_fov(), get_aspect_ratio());
|
_cameraGroup->setCameraParameters(get_v_fov(), get_aspect_ratio());
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
double FGViewer::get_aspect_ratio() const
|
double FGViewer::get_aspect_ratio() const
|
||||||
|
|
Loading…
Reference in a new issue