mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
renames the engine method arg to avoid name confusion.
This commit is contained in:
parent
ab68a19a8b
commit
af2ac4472e
1 changed files with 3 additions and 3 deletions
|
|
@ -921,15 +921,15 @@ DefineEngineMethod( GuiInspector, setObjectField, void, (const char* fieldname,
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
DefineEngineMethod( GuiInspector, findByObject, S32, (SimObject* object), ,
|
DefineEngineMethod( GuiInspector, findByObject, S32, (SimObject* obj), ,
|
||||||
"Returns the id of an awake inspector that is inspecting the passed object if one exists\n"
|
"Returns the id of an awake inspector that is inspecting the passed object if one exists\n"
|
||||||
"@param object Object to find away inspector for."
|
"@param object Object to find away inspector for."
|
||||||
"@return id of an awake inspector that is inspecting the passed object if one exists, else NULL or 0.")
|
"@return id of an awake inspector that is inspecting the passed object if one exists, else NULL or 0.")
|
||||||
{
|
{
|
||||||
if ( !object )
|
if ( !obj)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
SimObject *inspector = GuiInspector::findByObject( object );
|
SimObject *inspector = GuiInspector::findByObject(obj);
|
||||||
|
|
||||||
if ( !inspector )
|
if ( !inspector )
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue