|
@@ -4831,6 +4831,9 @@ window.Modernizr = function(n, e, t) {
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ let oldPos = this.player.position.clone();
|
|
|
|
+ let oldPano = this.player.currentPano
|
|
|
|
|
|
if (this.onTheBus = !0,
|
|
if (this.onTheBus = !0,
|
|
this.emit("update.controls"),
|
|
this.emit("update.controls"),
|
|
@@ -4877,6 +4880,8 @@ window.Modernizr = function(n, e, t) {
|
|
}
|
|
}
|
|
.bind(this), o),
|
|
.bind(this), o),
|
|
this.emit("update.controls")
|
|
this.emit("update.controls")
|
|
|
|
+ let pano = this.model.panos.index[r.panoId]
|
|
|
|
+ this.player.emit("flying.ended", pano.position, oldPos, pano, oldPano)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
,
|
|
,
|