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:
@@ -175,8 +175,9 @@ public class CameraHandler
|
|||||||
{
|
{
|
||||||
if (_campath != null) {
|
if (_campath != null) {
|
||||||
if (_campath.tick(frameTime)) {
|
if (_campath.tick(frameTime)) {
|
||||||
_campathobs.apply(new CompletedOp(_campath));
|
CameraPath opath = _campath;
|
||||||
_campath = null;
|
_campath = null;
|
||||||
|
_campathobs.apply(new CompletedOp(opath));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user