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

Method removeThread

Engine/source/gui/editor/guiShapeEdPreview.cpp:399–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399void GuiShapeEdPreview::removeThread(S32 slot)
400{
401 if ( slot < mThreads.size() )
402 {
403 if ( mThreads[slot].key )
404 mModel->destroyThread( mThreads[slot].key );
405 mThreads.erase( slot );
406
407 if ( mActiveThread >= mThreads.size() )
408 mActiveThread = mThreads.size() - 1;
409 }
410}
411
412void GuiShapeEdPreview::setTimeScale( F32 scale )
413{

Callers 3

shapeEditor.ed.csFile · 0.45
shapeEditor.ed.csFile · 0.45

Calls 3

sizeMethod · 0.45
destroyThreadMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected