Fix a typo

This commit is contained in:
Frederic Bouvier 2012-06-25 11:58:49 +02:00
parent 284aa3a444
commit 00c61204a4
2 changed files with 2 additions and 2 deletions

View 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);
}

View 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