1
0
Fork 0

The terrain branch can contain models having lights

This commit is contained in:
Frederic Bouvier 2012-06-11 09:14:23 +02:00
parent d84f48cc0c
commit 622c10b8f9

View file

@ -229,7 +229,6 @@ void FGScenery::init() {
// Terrain branch
terrain_branch = new osg::Group;
terrain_branch->setName( "Terrain" );
terrain_branch->setNodeMask( ~simgear::MODELLIGHT_BIT );
scene_graph->addChild( terrain_branch.get() );
SGSceneUserData* userData;
userData = SGSceneUserData::getOrCreateSceneUserData(terrain_branch.get());