Fix issue with sky added in commit 25e0ab0b82
This commit is contained in:
parent
93ad2f2ef6
commit
8f5e9619aa
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue