diff --git a/src/Main/renderer.cxx b/src/Main/renderer.cxx index bcd9716a1..e04d6ab1d 100644 --- a/src/Main/renderer.cxx +++ b/src/Main/renderer.cxx @@ -1714,7 +1714,7 @@ FGRenderer::update( ) { l->get_sun_angle()*SGD_RADIANS_TO_DEGREES); mUpdateVisitor->setVisibility(actual_visibility); simgear::GroundLightManager::instance()->update(mUpdateVisitor.get()); - osg::Node::NodeMask cullMask = ~simgear::LIGHTS_BITS & ~simgear::PICK_BIT; + osg::Node::NodeMask cullMask = ~simgear::LIGHTS_BITS & ~simgear::PICK_BIT & ~simgear::MODELLIGHT_BIT; cullMask |= simgear::GroundLightManager::instance() ->getLightNodeMask(mUpdateVisitor.get()); if (_panel_hotspots->getBoolValue())