浏览代码

Taml properly read object names in JSON format.
getTamlObjectName previously looked for tamlRefIdName when it should
be looking for tamlNamedObjectName.

Lukas Joergensen 11 年之前
父节点
当前提交
bc3fe6365c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      engine/source/persistence/taml/json/tamlJSONReader.cc

+ 1 - 1
engine/source/persistence/taml/json/tamlJSONReader.cc

@@ -663,7 +663,7 @@ inline const char* TamlJSONReader::getTamlObjectName( const rapidjson::Value& va
         StringTableEntry attributeName = StringTable->insert( memberItr->name.GetString() );
 
         // Skip if not the correct attribute.
-        if ( attributeName != tamlRefToIdName )
+        if ( attributeName != tamlNamedObjectName )
             continue;
 
         // Is the value an integer?