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:
@@ -367,6 +367,9 @@ public class Model extends ModelNode
|
|||||||
if (anim == null) {
|
if (anim == null) {
|
||||||
return -1f;
|
return -1f;
|
||||||
}
|
}
|
||||||
|
if (_anim != null) {
|
||||||
|
_animObservers.apply(new AnimCancelledOp(_animName));
|
||||||
|
}
|
||||||
_anim = anim;
|
_anim = anim;
|
||||||
_animName = name;
|
_animName = name;
|
||||||
_fidx = 0;
|
_fidx = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user