MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / addObject

Method addObject

Engine/source/console/simPersistSet.cpp:172–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170//-----------------------------------------------------------------------------
171
172void SimPersistSet::addObject( SimObject* object )
173{
174 // If this set isn't transient, make sure the object has a valid
175 // persistent ID.
176
177 if( getCanSave() )
178 object->getOrCreatePersistentId();
179
180 Parent::addObject( object );
181}
182
183//=============================================================================
184// Console Methods.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected