]> git.mxchange.org Git - simgear.git/commitdiff
Fix a typo
authorfredb <fredb>
Sun, 12 Aug 2007 13:32:42 +0000 (13:32 +0000)
committerfredb <fredb>
Sun, 12 Aug 2007 13:32:42 +0000 (13:32 +0000)
simgear/scene/model/SGTranslateTransform.cxx

index 9f6e5d8d6dfba1dac0f4090f4fa8130318629e7e..e185618eb44c8683d52ae727cb3e78ecea2152e1 100644 (file)
@@ -98,7 +98,7 @@ namespace {
 
 bool TranslateTransform_readLocalData(osg::Object& obj, osgDB::Input& fr)
 {
-    SGTranslateTransform& trans = static_cast<SGTranslateTransform&>(trans);
+    SGTranslateTransform& trans = static_cast<SGTranslateTransform&>(obj);
 
     if (fr[0].matchWord("axis")) {
         ++fr;