Make sure cameraIsMoving returns false for the callbacks at the end of a

camera path.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3875 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2006-02-22 01:22:28 +00:00
parent 46f61df574
commit 50e36adb6b
@@ -175,8 +175,9 @@ public class CameraHandler
{
if (_campath != null) {
if (_campath.tick(frameTime)) {
_campathobs.apply(new CompletedOp(_campath));
CameraPath opath = _campath;
_campath = null;
_campathobs.apply(new CompletedOp(opath));
}
}
}