|
@@ -4862,6 +4862,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
//var walk = window.DATA.black ? 'black' : 'walk';
|
|
|
//若是点击item,直接瞬间过渡。
|
|
|
var s = e ? 'black' : this.getMomentTour(this.destinationItem) //window.DATA.momentTour || "walk";
|
|
|
+ if(this.destinationItem[0] == 0 && this.destinationItem[1] == 0) s = 'black' // 周恩光加 返回最初导览点是瞬间过渡
|
|
|
a1 = this.player.warpToPanoByHeroIndex.bind(this.player, this.destinationItem, v.Show, m.Slow, s, true, i, this.actionComplete.bind(this)),
|
|
|
o = this.arrivedAtDestination.bind(this, !0)
|
|
|
|
|
@@ -4930,7 +4931,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
let neighbourIndex = [ panoIndex + 1, panoIndex - 1, panoIndex + 2, panoIndex - 2, panoIndex + 3, panoIndex - 3 ]
|
|
|
for(var i = 0; i < neighbourIndex.length; i++) {
|
|
|
currentPanoDestinations = this.panoIdMap.get(this.model.panos.list[neighbourIndex[i]].id)
|
|
|
- if(currentPanoDestinations) break
|
|
|
+ if(currentPanoDestinations && currentPanoDestinations[0] != 0) break
|
|
|
}
|
|
|
if(!currentPanoDestinations) currentPanoDestinations = [0];
|
|
|
}
|