1
0
Fork 0

Olaf Flebbe: remove unused variable.

This commit is contained in:
frohlich 2006-11-07 05:39:33 +00:00
parent f65abb8a61
commit a8523d94ed
2 changed files with 0 additions and 3 deletions

View file

@ -35,7 +35,6 @@
FGAircraftModel::FGAircraftModel ()
: _aircraft(0),
_selector(new osg::Switch),
_scene(new osg::Group),
_nearplane(0.10f),
_farplane(1000.0f)
{
@ -86,7 +85,6 @@ FGAircraftModel::init ()
liveryPath);
_aircraft->init( model );
}
_scene->addChild(_aircraft->getSceneGraph());
_selector->addChild(_aircraft->getSceneGraph());
// Do not do altitude computations with that model
_selector->setNodeMask(~SG_NODEMASK_TERRAIN_BIT);

View file

@ -45,7 +45,6 @@ private:
SGModelPlacement * _aircraft;
osg::ref_ptr<osg::Switch> _selector;
osg::ref_ptr<osg::Group> _scene;
float _nearplane;
float _farplane;