Array.AddAt would fail if it branched to the fast-path within a Container due to an invalid property. Fix #3617

This commit is contained in:
Richard Davey 2018-04-26 15:44:56 +01:00
parent 10a5961a96
commit 65c54f4b8d
2 changed files with 2 additions and 1 deletions

View file

@ -41,6 +41,7 @@
* Adding a Group with an array of children in the constructor was broken since 3.5. Fix #3612 (thanks @fariazz @samme)
* Fix ParticleEmitter toJSON output, it was missing the `angle` property and the Emitter Ops were being cast wrong (thanks @samme)
* Fixed loading normals with multi image load (thanks @iamchristopher)
* Array.AddAt would fail if it branched to the fast-path within a Container due to an invalid property. Fix #3617 (thanks @poasher)
### Examples, Documentation and TypeScript

View file

@ -55,7 +55,7 @@ var AddAt = function (array, item, index, limit, callback, context)
if (callback)
{
callback.call(context, entry);
callback.call(context, item);
}
return item;