]> git.mxchange.org Git - simgear.git/commitdiff
Terrain tiles are not light volumes
authorFrederic Bouvier <fredfgfs01@free.fr>
Mon, 11 Jun 2012 07:11:52 +0000 (09:11 +0200)
committerFrederic Bouvier <fredfgfs01@free.fr>
Mon, 11 Jun 2012 07:11:52 +0000 (09:11 +0200)
simgear/scene/tgdb/obj.cxx

index 12798da2605e472e4891a0f7dd34bf2dc7be0033..2ca520f2db813026b72b14014887e37433a8c562 100644 (file)
@@ -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;
 }