Merge branch 'development' into EngineAPI-Refactor

This commit is contained in:
Areloch 2018-12-09 14:48:50 -06:00 committed by GitHub
commit 3a71c75596
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1937 changed files with 102332 additions and 70549 deletions

View file

@ -515,11 +515,11 @@ void ScopeTracker< NUM_DIMENSIONS, Object >::updateObject( Object object )
while( !mPotentialScopeInObjects.empty() )
{
Object object = mPotentialScopeInObjects.last();
Object obj = mPotentialScopeInObjects.last();
mPotentialScopeInObjects.decrement();
if( Deref( object ).isInScope() )
_onScopeIn( object );
if( Deref(obj).isInScope() )
_onScopeIn(obj);
}
}
else