Olaf Flebbe: remove unused variable.
This commit is contained in:
parent
f65abb8a61
commit
a8523d94ed
2 changed files with 0 additions and 3 deletions
src/Model
|
@ -35,7 +35,6 @@
|
||||||
FGAircraftModel::FGAircraftModel ()
|
FGAircraftModel::FGAircraftModel ()
|
||||||
: _aircraft(0),
|
: _aircraft(0),
|
||||||
_selector(new osg::Switch),
|
_selector(new osg::Switch),
|
||||||
_scene(new osg::Group),
|
|
||||||
_nearplane(0.10f),
|
_nearplane(0.10f),
|
||||||
_farplane(1000.0f)
|
_farplane(1000.0f)
|
||||||
{
|
{
|
||||||
|
@ -86,7 +85,6 @@ FGAircraftModel::init ()
|
||||||
liveryPath);
|
liveryPath);
|
||||||
_aircraft->init( model );
|
_aircraft->init( model );
|
||||||
}
|
}
|
||||||
_scene->addChild(_aircraft->getSceneGraph());
|
|
||||||
_selector->addChild(_aircraft->getSceneGraph());
|
_selector->addChild(_aircraft->getSceneGraph());
|
||||||
// Do not do altitude computations with that model
|
// Do not do altitude computations with that model
|
||||||
_selector->setNodeMask(~SG_NODEMASK_TERRAIN_BIT);
|
_selector->setNodeMask(~SG_NODEMASK_TERRAIN_BIT);
|
||||||
|
|
|
@ -45,7 +45,6 @@ private:
|
||||||
|
|
||||||
SGModelPlacement * _aircraft;
|
SGModelPlacement * _aircraft;
|
||||||
osg::ref_ptr<osg::Switch> _selector;
|
osg::ref_ptr<osg::Switch> _selector;
|
||||||
osg::ref_ptr<osg::Group> _scene;
|
|
||||||
float _nearplane;
|
float _nearplane;
|
||||||
float _farplane;
|
float _farplane;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue