From: Frederic Bouvier Date: Mon, 11 Jun 2012 07:11:52 +0000 (+0200) Subject: Terrain tiles are not light volumes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a634d7c3613170aa091bba6e651421e1c6213c90;p=simgear.git Terrain tiles are not light volumes --- diff --git a/simgear/scene/tgdb/obj.cxx b/simgear/scene/tgdb/obj.cxx index 12798da2..2ca520f2 100644 --- a/simgear/scene/tgdb/obj.cxx +++ b/simgear/scene/tgdb/obj.cxx @@ -1171,6 +1171,7 @@ SGLoadBTG(const std::string& path, const simgear::SGReaderWriterOptions* options objectLOD->setNodeMask(nodeMask); transform->addChild(objectLOD); } + transform->setNodeMask( ~simgear::MODELLIGHT_BIT ); return transform; }