Merge pull request #2190 from Areloch/AssetCodeCleanupRoundOne

Some code cleanup on assets, entities and components, round 1
This commit is contained in:
Areloch 2018-02-13 14:54:50 -06:00 committed by GitHub
commit e18661d861
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 59 additions and 41 deletions

View file

@ -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];