|
@@ -9,7 +9,7 @@ window.easing = null
|
|
|
window.lerp = null
|
|
|
window.transitions = null
|
|
|
window.browser = null
|
|
|
-window.momentTourBlackNewType = 0//true
|
|
|
+window.momentTourBlackNewType = true
|
|
|
|
|
|
g_playAudio = null
|
|
|
|
|
@@ -23389,6 +23389,38 @@ window.Modernizr = function(n, e, t) {
|
|
|
}
|
|
|
,
|
|
|
|
|
|
+ n.prototype.blackToPano = function(o={}) {//add 瞬间过渡
|
|
|
+
|
|
|
+ var pano = o.pano || this.model.panos.index[o.panoId]
|
|
|
+
|
|
|
+
|
|
|
+ this.path.warpDestPano = pano
|
|
|
+
|
|
|
+ var retry = ()=>{
|
|
|
+ this.waitingToWarp = !1,
|
|
|
+ this.blackToPano(o)
|
|
|
+ }
|
|
|
+ if (this.checkAndWaitForPanoLoad(pano, "high", "low", this.basePanoSize, retry))
|
|
|
+ return void (this.waitingToWarp = !0)
|
|
|
+
|
|
|
+ this.emit("pano.chosen", this.currentPano, this.path.warpDestPano),
|
|
|
+
|
|
|
+
|
|
|
+ this.path.warpDestHeroLoc = {
|
|
|
+ panoId : o.panoId,
|
|
|
+ position: pano.position,
|
|
|
+ quaternion: o.quaternion || this.quaternion.clone()
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ this.path.warpTravel_BLACK(null, 1500,1, ()=>{
|
|
|
+ pano != this.currentPano && this.currentPano.exit()
|
|
|
+ pano.enter()
|
|
|
+ this.currentPano = pano
|
|
|
+
|
|
|
+ } )
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
|
|
|
window._transitionPosId = 9999
|