From 00c61204a4d69d14a33d39c99097dd7c9b070a8a Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Mon, 25 Jun 2012 11:58:49 +0200 Subject: [PATCH] Fix a typo --- simgear/scene/tgdb/obj.cxx | 2 +- simgear/scene/util/SGNodeMasks.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/simgear/scene/tgdb/obj.cxx b/simgear/scene/tgdb/obj.cxx index 2ca520f2..558d98c1 100644 --- a/simgear/scene/tgdb/obj.cxx +++ b/simgear/scene/tgdb/obj.cxx @@ -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); } diff --git a/simgear/scene/util/SGNodeMasks.hxx b/simgear/scene/util/SGNodeMasks.hxx index 19520eb6..ce4ce578 100644 --- a/simgear/scene/util/SGNodeMasks.hxx +++ b/simgear/scene/util/SGNodeMasks.hxx @@ -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