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

Method removeThread

Engine/source/gui/editor/guiShapeEdPreview.cpp:453–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453void GuiShapeEdPreview::removeThread(S32 slot)
454{
455 if ( slot < mThreads.size() )
456 {
457 if ( mThreads[slot].key )
458 mModel->destroyThread( mThreads[slot].key );
459 mThreads.erase( slot );
460
461 if ( mActiveThread >= mThreads.size() )
462 mActiveThread = mThreads.size() - 1;
463 }
464}
465
466void GuiShapeEdPreview::setTimeScale( F32 scale )
467{

Callers 1

Calls 3

sizeMethod · 0.45
destroyThreadMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected