mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 03:45:26 +00:00
* BugFix: Clear a lot of warnings and correct a few actual programming errors along the way.
This commit is contained in:
parent
ef514d0e6b
commit
1b6b803a20
61 changed files with 120 additions and 118 deletions
|
|
@ -908,12 +908,12 @@ DefineEngineMethod( GuiInspector, findByObject, S32, (SimObject* obj), ,
|
|||
"@return id of an awake inspector that is inspecting the passed object if one exists, else NULL or 0.")
|
||||
{
|
||||
if ( !obj)
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
SimObject *inspector = GuiInspector::findByObject(obj);
|
||||
|
||||
if ( !inspector )
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
return inspector->getId();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue