]> git.mxchange.org Git - simgear.git/commitdiff
Fix a typo
authorFrederic Bouvier <fredfgfs01@free.fr>
Mon, 25 Jun 2012 09:58:49 +0000 (11:58 +0200)
committerFrederic Bouvier <fredfgfs01@free.fr>
Mon, 25 Jun 2012 09:58:49 +0000 (11:58 +0200)
simgear/scene/tgdb/obj.cxx
simgear/scene/util/SGNodeMasks.hxx

index 2ca520f2db813026b72b14014887e37433a8c562..558d98c1513183a6b424afad2a8fb66813c4461d 100644 (file)
@@ -1167,7 +1167,7 @@ SGLoadBTG(const std::string& path, const simgear::SGReaderWriterOptions* options
     if (forestNode.valid())  objectLOD->addChild(forestNode.get(), 0, 20000);
     if (buildingNode.valid()) objectLOD->addChild(buildingNode.get(), 0, 20000);
     
-    unsigned nodeMask = SG_NODEMASK_CASTSHADOW_BIT | SG_NODEMASK_RECIEVESHADOW_BIT | SG_NODEMASK_TERRAIN_BIT;
+    unsigned nodeMask = SG_NODEMASK_CASTSHADOW_BIT | SG_NODEMASK_RECEIVESHADOW_BIT | SG_NODEMASK_TERRAIN_BIT;
     objectLOD->setNodeMask(nodeMask);
     transform->addChild(objectLOD);
   }
index 19520eb6d1d3d0a8098c0bf20216c91c1c623aef..ce4ce5782e5a716c969612361d11cb628fed3625 100644 (file)
@@ -31,7 +31,7 @@
 /// If set, cast shadows
 #define SG_NODEMASK_CASTSHADOW_BIT     simgear::CASTSHADOW_BIT
 /// If set, cast recieves shadows
-#define SG_NODEMASK_RECIEVESHADOW_BIT  simgear::RECEIVESHADOW_BIT
+#define SG_NODEMASK_RECEIVESHADOW_BIT  simgear::RECEIVESHADOW_BIT
 #define SG_NODEMASK_GUI_BIT            simgear::GUI_BIT
 #define SG_NODEMASK_2DPANEL_BIT        simgear::PANEL2D_BIT
 /// If set, the node is pickable