mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 05:20:31 +00:00
Some code cleanup, tweak and optimizations for assets, entities and components.
This commit is contained in:
parent
cfbdf63cd7
commit
abe4370c8a
15 changed files with 58 additions and 40 deletions
|
|
@ -70,7 +70,8 @@ bool GuiInspectorEntityGroup::inspectGroup()
|
|||
{
|
||||
Entity* target = dynamic_cast<Entity*>(mParent->getInspectObject(0));
|
||||
|
||||
Con::executef(this, "inspectObject", target->getIdString());
|
||||
if(target)
|
||||
Con::executef(this, "inspectObject", target->getIdString());
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue