Notify listeners that the old animation was cancelled when we start a

new one.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4093 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2006-05-05 22:17:36 +00:00
parent 053c1bfe31
commit c8fa910ffe
@@ -367,6 +367,9 @@ public class Model extends ModelNode
if (anim == null) {
return -1f;
}
if (_anim != null) {
_animObservers.apply(new AnimCancelledOp(_animName));
}
_anim = anim;
_animName = name;
_fidx = 0;