]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/tgdb/obj.cxx
Replace SG_USE_STD() by using std::
[simgear.git] / simgear / scene / tgdb / obj.cxx
index 7576c0495feca9f79bd82b3db69fd386fdf0b5e4..da21d9f16f05f77572b62ed71fae913753693a3f 100644 (file)
@@ -50,8 +50,6 @@
 #include <simgear/scene/util/SGUpdateVisitor.hxx>
 #include <simgear/scene/util/SGNodeMasks.hxx>
 #include <simgear/scene/util/QuadTreeBuilder.hxx>
-#include <simgear/threads/SGThread.hxx>
-#include <simgear/threads/SGGuard.hxx>
 
 #include "SGTexturedTriangleBin.hxx"
 #include "SGLightBin.hxx"
@@ -777,7 +775,7 @@ SGLoadBTG(const std::string& path, SGMaterialLib *matlib, bool calc_lights, bool
     if (randomObjects.valid()) objectLOD->addChild(randomObjects.get(), 0, 20000);
     if (randomForest.valid())  objectLOD->addChild(randomForest.get(), 0, 20000);
     
-    unsigned nodeMask = SG_NODEMASK_CASTSHADOW_BIT | SG_NODEMASK_RECIEVESHADOW_BIT;
+    unsigned nodeMask = SG_NODEMASK_CASTSHADOW_BIT | SG_NODEMASK_RECIEVESHADOW_BIT | SG_NODEMASK_TERRAIN_BIT;
     objectLOD->setNodeMask(nodeMask);
     transform->addChild(objectLOD);
   }