]> git.mxchange.org Git - flightgear.git/commitdiff
Olaf Flebbe: remove unused variable.
authorfrohlich <frohlich>
Tue, 7 Nov 2006 05:39:33 +0000 (05:39 +0000)
committerfrohlich <frohlich>
Tue, 7 Nov 2006 05:39:33 +0000 (05:39 +0000)
src/Model/acmodel.cxx
src/Model/acmodel.hxx

index 4b0a87841251bbec8e29d8e438708b77c74acc84..271382d03313459ce9041802a915ea9e930bd0cc 100644 (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);
index 9f248acfec4dcb39c84f70d7b2e456ecd31fafb6..cbab40602d1570d34b4347b64dc8935c78012e22 100644 (file)
@@ -45,7 +45,6 @@ private:
 
   SGModelPlacement * _aircraft;
   osg::ref_ptr<osg::Switch> _selector;
-  osg::ref_ptr<osg::Group> _scene;
   float _nearplane;
   float _farplane;