MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / killObject

Method killObject

Engine/source/console/persistenceManager.cpp:226–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void PersistenceManager::killObject()
227{
228 // Don't save this object
229 SAFE_DELETE(mCurrentObject);
230
231 // If there is an object in the stack restore it
232 if (mObjectStack.size() > 0)
233 {
234 mCurrentObject = mObjectStack.last();
235 mObjectStack.pop_back();
236 }
237}
238
239void PersistenceManager::saveObject()
240{

Callers

nothing calls this directly

Calls 3

lastMethod · 0.80
sizeMethod · 0.45
pop_backMethod · 0.45

Tested by

no test coverage detected