mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
local obectName doubleup
This commit is contained in:
parent
9298d889b3
commit
65870124b0
1 changed files with 2 additions and 2 deletions
|
|
@ -192,7 +192,7 @@ SimObject* TamlJSONReader::parseType( const rapidjson::Value::ConstMemberIterato
|
||||||
for( rapidjson::Value::ConstMemberIterator objectMemberItr = typeValue.MemberBegin(); objectMemberItr != typeValue.MemberEnd(); ++objectMemberItr )
|
for( rapidjson::Value::ConstMemberIterator objectMemberItr = typeValue.MemberBegin(); objectMemberItr != typeValue.MemberEnd(); ++objectMemberItr )
|
||||||
{
|
{
|
||||||
// Fetch name and value.
|
// Fetch name and value.
|
||||||
const rapidjson::Value& objectName = objectMemberItr->name;
|
const rapidjson::Value& objName = objectMemberItr->name;
|
||||||
const rapidjson::Value& objectValue = objectMemberItr->value;
|
const rapidjson::Value& objectValue = objectMemberItr->value;
|
||||||
|
|
||||||
// Skip if not an object.
|
// Skip if not an object.
|
||||||
|
|
@ -200,7 +200,7 @@ SimObject* TamlJSONReader::parseType( const rapidjson::Value::ConstMemberIterato
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Find the period character in the name.
|
// Find the period character in the name.
|
||||||
const char* pPeriod = dStrchr( objectName.GetString(), '.' );
|
const char* pPeriod = dStrchr( objName.GetString(), '.' );
|
||||||
|
|
||||||
// Did we find the period?
|
// Did we find the period?
|
||||||
if ( pPeriod == NULL )
|
if ( pPeriod == NULL )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue