Let's remove the path controller when we cancel our move
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@111 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -146,6 +146,7 @@ public class Sprite extends Node
|
|||||||
if (_path != null) {
|
if (_path != null) {
|
||||||
Path oldpath = _path;
|
Path oldpath = _path;
|
||||||
_path = null;
|
_path = null;
|
||||||
|
removeController(oldpath);
|
||||||
oldpath.wasRemoved();
|
oldpath.wasRemoved();
|
||||||
if (_observers != null) {
|
if (_observers != null) {
|
||||||
_observers.apply(new CancelledOp(this, oldpath));
|
_observers.apply(new CancelledOp(this, oldpath));
|
||||||
|
|||||||
Reference in New Issue
Block a user