1
0
Fork 0

Fix issue with sky added in commit 25e0ab0b82

This commit is contained in:
Frederic Bouvier 2012-04-03 08:41:28 +02:00
parent 93ad2f2ef6
commit 8f5e9619aa

View file

@ -1470,7 +1470,8 @@ FGRenderer::setupView( void )
skyGroup->addChild(_sky->getPreRoot());
sunLight->addChild(skyGroup);
mRoot->addChild(sceneGroup);
mRoot->addChild(sunLight);
if ( _classicalRenderer )
mRoot->addChild(sunLight);
// Clouds are added to the scene graph later
stateSet = globals->get_scenery()->get_scene_graph()->getOrCreateStateSet();