mirror of
https://github.com/photonstorm/phaser
synced 2024-12-21 02:23:29 +00:00
36d70697db
Fix for issue #917: Calling reset() on Sprite with a P2 body can result in body.data.world == null. Calling addToWorld() would previously not check the _toRemove array, which could, if the timing were right, result in a Sprite being revived but then removed from the P2 World--the result of this being the Sprite's data would be in a mixed state causing it to appear visually but not function in the world. |
||
---|---|---|
.. | ||
Body.js | ||
BodyDebug.js | ||
CollisionGroup.js | ||
ContactMaterial.js | ||
DistanceConstraint.js | ||
FixtureList.js | ||
GearConstraint.js | ||
InversePointProxy.js | ||
LockConstraint.js | ||
Material.js | ||
p2.js | ||
PointProxy.js | ||
PrismaticConstraint.js | ||
RevoluteConstraint.js | ||
Spring.js | ||
World.js |