From 622c10b8f9b867667cedc6dd4444ffaaed2d5664 Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Mon, 11 Jun 2012 09:14:23 +0200 Subject: [PATCH] The terrain branch can contain models having lights --- src/Scenery/scenery.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Scenery/scenery.cxx b/src/Scenery/scenery.cxx index 4b3c8c60e..eeec77bb4 100644 --- a/src/Scenery/scenery.cxx +++ b/src/Scenery/scenery.cxx @@ -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());