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

Method onActionPerformed

Engine/source/ts/tsShapeConstruct.cpp:3471–3481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3469}
3470
3471void TSShapeConstructor::onActionPerformed()
3472{
3473 // Reinit shape if we modify stuff in the shape editor, otherwise delay
3474 if (!mLoadingShape)
3475 {
3476 if (mShape && mShape->needsReinit())
3477 {
3478 mShape->init();
3479 }
3480 }
3481}

Calls 2

needsReinitMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected