1
0
Fork 0

Csaba HALASZ: fix uninitialized _aspect_ratio member in Main/viewer.cxx

This commit is contained in:
mfranz 2009-03-27 09:19:41 +00:00 committed by Tim Moore
parent 81b9bb61e5
commit 35ed31972a

View file

@ -79,6 +79,7 @@ FGViewer::FGViewer( fgViewType Type, bool from_model, int from_model_index,
_damp_pitch(0),
_damp_heading(0),
_scaling_type(FG_SCALING_MAX),
_aspect_ratio(0),
_cameraGroup(CameraGroup::getDefault())
{
_absolute_view_pos = SGVec3d(0, 0, 0);