mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-15 04:33:47 +00:00
(Mostly) updated verve implementation.
This commit is contained in:
parent
e0627973fb
commit
5a7f0f0b23
538 changed files with 68727 additions and 49 deletions
|
|
@ -2841,6 +2841,10 @@ DefineEngineMethod( SimObject, getFieldValue, const char*, ( const char* fieldNa
|
|||
|
||||
const char* arrayIndex = NULL;
|
||||
const U32 nameLen = dStrlen( fieldName );
|
||||
|
||||
if (nameLen == 0)
|
||||
return "";
|
||||
|
||||
if( fieldName[ nameLen - 1 ] == ']' )
|
||||
{
|
||||
const char* leftBracket = dStrchr( fieldName, '[' );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue