Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#321 closed defect (fixed)

AnimationSequence objects may incorrectly share state

Reported by: cris@… 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 14 years ago by anonymous

Milestone: 0.2.2release
Status: newassigned

comment:2 Changed 14 years ago by alex

Resolution: fixed
Status: assignedclosed

(In [2800]) fixes #321

comment:3 Changed 12 years ago by (none)

Milestone: 0.2.2release

Milestone 0.2.2release deleted

Note: See TracTickets for help on using tickets.