Opened 16 years ago

Closed 16 years ago

Last modified 12 years ago

#321 closed defect (fixed)

AnimationSequence objects may incorrectly share state

Reported by: [email protected] Owned by: anonymous
Priority: high Milestone:
Component: General Version: 0.2
Keywords: animation Cc:
Blocked By: Blocking:


Creating two distinct animation sequences then running one concatenates the sequences, where they should stay separate.

Fix is to add a line to the AnimationSequence? constructor:

this._anims = [];

The prototype defines an empty array, but the instances share it except in the case where one calls removeAll. This line gives the instance its own array of animations.

Change History (3)

comment:1 Changed 16 years ago by anonymous

Milestone: 0.2.2release
Status: newassigned

comment:2 Changed 16 years ago by alex

Resolution: fixed
Status: assignedclosed

(In [2800]) fixes #321

comment:3 Changed 15 years ago by (none)

Milestone: 0.2.2release

Milestone 0.2.2release deleted

Note: See TracTickets for help on using tickets.