mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-22 16:13:45 +00:00
Some code cleanup, tweak and optimizations for assets, entities and components.
This commit is contained in:
parent
cfbdf63cd7
commit
abe4370c8a
15 changed files with 58 additions and 40 deletions
|
|
@ -613,6 +613,9 @@ void AnimationComponent::advanceThreads(F32 dt)
|
|||
if (!mOwnerRenderInst)
|
||||
return;
|
||||
|
||||
if (mOwnerShapeInstance == nullptr || !getShape())
|
||||
return;
|
||||
|
||||
for (U32 i = 0; i < MaxScriptThreads; i++)
|
||||
{
|
||||
Thread& st = mAnimationThreads[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue