|
@@ -2,6 +2,42 @@
|
|
|
另外 所有"matter"字样已被我删除 原因:删除matterport信息
|
|
|
*/
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+/*
|
|
|
+ watch:
|
|
|
+
|
|
|
+
|
|
|
+ g_bgAudio.paused
|
|
|
+ g_tourAudio.paused
|
|
|
+ g_tourAudio.shouldPlay
|
|
|
+ manage.musicShouldPlay
|
|
|
+ */
|
|
|
+
|
|
|
+var musicList = {
|
|
|
+ "0102cp":'3458d3c7ca764ecaa13c88aaa8e0a1a8, 1107bf848a6146059249cc109c6d1472, 8c0e5bcc4a69470aa5f189edde162973, 2d00ef76d93f4a578b356c593da889b0, 61afb8aaf45046be865b1b30d0357754, 0a73cf23993d4f4cbb48337708f8c7b7, 9a32f7d9b29f427182b453b1a8009efc'.split(','),
|
|
|
+ "04CP":'48930ada7d02438a846f6f6cf5a8693f, d3e00453736549e392ca91e9bd31ee72, b99ae9d8d19144f7866d49ed863a4b84, 14f349b0dd3d4646b2bd98c2ebfeb643'.split(','),
|
|
|
+ "03cp":'d9b104d7df9244fca5ad5af4d5fca8f7, 2860b361da9246949ab6f57cbb8ce82d, 491d8cce5dfa441db5a52eb248bf4a63'.split(','),
|
|
|
+ "19CP":'73a354895dc74c30beeb02a8d8bfe328, 256aedca55d6417fb696156279424d42, 10210bebd78b4d33ad05e0bef22cf0a3'.split(','),
|
|
|
+ "2021cp":'10793e907fa7493c83f73fdcfd7df706, 2e2da10199634b5188c5469c0f52f9f6, 449196f2aa014f9db6a6cda675df7b70'.split(','),
|
|
|
+ "22cp":'cf2d9fa92e8443aabbcc1a01736a052e, 08967bbdacec4ecf8ff44b219408ac9a, 8d20c6dd62c04564a172430705ba0295, a8a7d94bb9b84e8cb45556bbd548961d'.split(','),
|
|
|
+ "23cp":'90197f7926e2466498135ef053147aaa, 6138d5511fe546e396a51408dfc9f6c5'.split(','),
|
|
|
+ '24cp':'8d216c8512264564bcde41c544fdfc69,f8769828fe9f4dda8449cd5d9506eeb4,12142ab7fbb74122ba0df52eaa5a5363'.split(','),
|
|
|
+ "0506CP":'6cee9744a41942f384ca0a9130f65ae8, a1f9e4436ea24f99a360ac327979e555, fb3b381371d04864ab99dfd30a08fe89, 0921140bde3f428180b2d6b603775f51'.split(','),
|
|
|
+ "07cp":'8902a763387040b2ad15a6325508cfca, 5adf5343a38340de998a0210cc97c00f'.split(','),
|
|
|
+ "08CP":'f9e6d48c697f455f9b294523a5222624, 4f912bc6dc2848ce924064d025635b81, 518612bb1c884d9bb7aff8d431904f8d'.split(','),
|
|
|
+ "09cp":'cb5887f7f3da43bf9ce383fbe4bae99b, d236fb56ac954bb29b3a6d0bdbe85588'.split(','),
|
|
|
+ "10cp":'dca81dee239e4f7e9d8b69c3af629f00, 69ef058f04474e3fbfd4cd22bb440934, 42fe939bbf7c42058f9c32356a08f319'.split(','),
|
|
|
+ "11cp":'fd62c35e2572460b88fb934e56888a2d, 4836763c382a45dcba1210f616e9e3be'.split(','),
|
|
|
+ "1213CP":'06fcab3ccc204198ba04bc226d6a049a, c72fe82506234db6bd75919ac0e61ec5, 884d594255f54a88b36f078ec2842669, 921eaf2a769c4f069e9588b0fa99f170, 02abef88316e482b9d4c4f3cb2a34c64'.split(','),
|
|
|
+ "15cp":'6e4c35329ba1470c8ebdf2ad3f1e92cd'.split(','),
|
|
|
+ "14cp":'0b168caa5f1848e1b614e97b3cc22923, a05cc1124331484c9d852f4918a3248d'.split(','),
|
|
|
+ "16cp":'506d2f805551425d938f488746730060, 21fbd2534bc840ebac3a5fac50e54cf5'.split(','),
|
|
|
+ "17cp":'d756e9288311440599eab62bde2e017e'.split(','),
|
|
|
+ "18cp":'11bb3c4c831a4151b8c7086f39086878'.split(','),
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
window.common = null;
|
|
|
window.MathLight = null;
|
|
|
window.math = null
|
|
@@ -23,52 +59,29 @@ g_tourAudio.crossOrigin = "anonymous"
|
|
|
g_tourAudio.addEventListener("ended", function() {
|
|
|
var e = document.createEvent("MouseEvent");
|
|
|
e.initEvent("tourAudioEnded", !0, !0),
|
|
|
- window.dispatchEvent(e)
|
|
|
+ window.dispatchEvent(e)
|
|
|
+ g_tourAudio.shouldPlay = false
|
|
|
+ manage.switchBgmState(true);
|
|
|
})
|
|
|
|
|
|
g_tourAudio.oncanplaythrough = function() {
|
|
|
- if(g_tourAudio.shouldPlay){
|
|
|
+ if(g_currentHot)return g_tourAudio.pause()
|
|
|
+ if(manage.musicShouldPlay && g_tourAudio.shouldPlay /* manage.ifTourCanPlay() */){
|
|
|
g_tourAudio.play();
|
|
|
g_playAudio = g_tourAudio;
|
|
|
+
|
|
|
+ if(g_bgAudio && !g_bgAudio.paused){
|
|
|
+ manage.switchBgmState(false);
|
|
|
+ g_bgAudio.pauseByTour = true
|
|
|
+ }
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
|
|
|
-var musicList = {
|
|
|
- "0102cp":'3458d3c7ca764ecaa13c88aaa8e0a1a8, 1107bf848a6146059249cc109c6d1472, 8c0e5bcc4a69470aa5f189edde162973, 2d00ef76d93f4a578b356c593da889b0, 61afb8aaf45046be865b1b30d0357754, 0a73cf23993d4f4cbb48337708f8c7b7, 9a32f7d9b29f427182b453b1a8009efc'.split(','),
|
|
|
- "04CP":'48930ada7d02438a846f6f6cf5a8693f, d3e00453736549e392ca91e9bd31ee72, b99ae9d8d19144f7866d49ed863a4b84, 14f349b0dd3d4646b2bd98c2ebfeb643'.split(','),
|
|
|
- "03cp":'d9b104d7df9244fca5ad5af4d5fca8f7, 2860b361da9246949ab6f57cbb8ce82d, 491d8cce5dfa441db5a52eb248bf4a63'.split(','),
|
|
|
- "19CP":'73a354895dc74c30beeb02a8d8bfe328, 256aedca55d6417fb696156279424d42, 10210bebd78b4d33ad05e0bef22cf0a3'.split(','),
|
|
|
- "2021cp":'10793e907fa7493c83f73fdcfd7df706, 2e2da10199634b5188c5469c0f52f9f6, 449196f2aa014f9db6a6cda675df7b70'.split(','),
|
|
|
- "22cp":'cf2d9fa92e8443aabbcc1a01736a052e, 08967bbdacec4ecf8ff44b219408ac9a, 8d20c6dd62c04564a172430705ba0295, a8a7d94bb9b84e8cb45556bbd548961d'.split(','),
|
|
|
- "23cp":'90197f7926e2466498135ef053147aaa, 6138d5511fe546e396a51408dfc9f6c5'.split(','),
|
|
|
|
|
|
- "0506CP":'6cee9744a41942f384ca0a9130f65ae8, a1f9e4436ea24f99a360ac327979e555, 8d216c8512264564bcde41c544fdfc69, f8769828fe9f4dda8449cd5d9506eeb4, 12142ab7fbb74122ba0df52eaa5a5363, fb3b381371d04864ab99dfd30a08fe89, 0921140bde3f428180b2d6b603775f51'.split(','),
|
|
|
- "07cp":'8902a763387040b2ad15a6325508cfca, 5adf5343a38340de998a0210cc97c00f'.split(','),
|
|
|
- "08CP":'f9e6d48c697f455f9b294523a5222624, 4f912bc6dc2848ce924064d025635b81, 518612bb1c884d9bb7aff8d431904f8d'.split(','),
|
|
|
- "09cp":'cb5887f7f3da43bf9ce383fbe4bae99b, d236fb56ac954bb29b3a6d0bdbe85588'.split(','),
|
|
|
- "10cp":'dca81dee239e4f7e9d8b69c3af629f00, 69ef058f04474e3fbfd4cd22bb440934, 42fe939bbf7c42058f9c32356a08f319'.split(','),
|
|
|
- "11cp":'fd62c35e2572460b88fb934e56888a2d, 4836763c382a45dcba1210f616e9e3be'.split(','),
|
|
|
- "1213CP":'06fcab3ccc204198ba04bc226d6a049a, c72fe82506234db6bd75919ac0e61ec5, 884d594255f54a88b36f078ec2842669, 921eaf2a769c4f069e9588b0fa99f170, 02abef88316e482b9d4c4f3cb2a34c64'.split(','),
|
|
|
- "15cp":'6e4c35329ba1470c8ebdf2ad3f1e92cd'.split(','),
|
|
|
- "14cp":'0b168caa5f1848e1b614e97b3cc22923, a05cc1124331484c9d852f4918a3248d'.split(','),
|
|
|
- "16cp":'506d2f805551425d938f488746730060, 21fbd2534bc840ebac3a5fac50e54cf5'.split(','),
|
|
|
- "17cp":'d756e9288311440599eab62bde2e017e'.split(','),
|
|
|
- "18cp":'11bb3c4c831a4151b8c7086f39086878'.split(','),
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-var playMusic = function(pano){//根据漫游点切换bgm
|
|
|
- //var describe = player.director.describe();
|
|
|
- //manage.bgmShouldPlay
|
|
|
- if( g_tourAudio.shouldPlay /* !g_tourAudio.paused */ || g_currentHot )return;
|
|
|
+var playMusic = function(pano){//根据漫游点切换bgm
|
|
|
+ var play = !( !manage.musicShouldPlay || g_tourAudio.shouldPlay || g_currentHot )
|
|
|
var shouldplayMusic
|
|
|
for(let i in musicList){
|
|
|
if(musicList[i].find(e=>e.includes(pano.id))){
|
|
@@ -79,8 +92,8 @@ var playMusic = function(pano){//根据漫游点切换bgm
|
|
|
if(shouldplayMusic){
|
|
|
if(!g_bgAudio.src.includes(shouldplayMusic)){
|
|
|
g_bgAudio.src = "music/"+shouldplayMusic+'.mp3'
|
|
|
- }
|
|
|
- manage.switchBgmState(true)
|
|
|
+ }
|
|
|
+ manage.switchBgmState(play)
|
|
|
}else{
|
|
|
g_bgAudio.src = ''
|
|
|
|
|
@@ -372,12 +385,12 @@ var loadVideo = ()=>{
|
|
|
loadedVideo = true
|
|
|
})
|
|
|
|
|
|
- var btn = addSoundBtn(video)
|
|
|
+ /* var btn = addSoundBtn(video)
|
|
|
window.videoPlane.add(btn)
|
|
|
video.btn = btn; btn.video = video
|
|
|
|
|
|
btn.position.set(-11.6,1.02,-8.5);
|
|
|
- btn.rotation.y = -0.4
|
|
|
+ btn.rotation.y = -0.4 */
|
|
|
|
|
|
}
|
|
|
|
|
@@ -498,7 +511,7 @@ var getScale = function(){
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+/*
|
|
|
|
|
|
var btnMat;
|
|
|
var btnGeo
|
|
@@ -535,6 +548,8 @@ var addSoundBtn = function(video){
|
|
|
return btn
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
var SoundOnVideo;
|
|
|
var switchSoundBtn = function(video, belong){
|
|
|
if(video.btn.material == soundOffMat){ //开启
|
|
@@ -585,14 +600,14 @@ var switchSoundBtn = function(video, belong){
|
|
|
|
|
|
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
var checkSoundBtnClick = function(intersect){
|
|
|
if(intersect && intersect.object.name == "soundBtn"){
|
|
|
switchSoundBtn(intersect.object.video, intersect.object.parent);
|
|
|
return true
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ */
|
|
|
|
|
|
|
|
|
|
|
@@ -5299,23 +5314,36 @@ window.Modernizr = function(n, e, t) {
|
|
|
}
|
|
|
}
|
|
|
,
|
|
|
- n.prototype.goToDestination = function(e, t, i, n) {
|
|
|
- //音频
|
|
|
- //if(this.destinationItem[1] == 0){//如果是每个folder的起始
|
|
|
- var musicInfo = this.model.heroLocations[this.destinationItem[0]].musicInfo
|
|
|
- if(musicInfo && musicInfo.music){
|
|
|
- var o = musicInfo.music.includes(g_Prefix.slice(-10)) ? musicInfo.music : g_Prefix + musicInfo.music;
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ n.prototype.getAudio = function(){
|
|
|
+ let a = this.destinationItem && this.destinationItem[0];
|
|
|
+ if(a!=void 0) a = this.model.heroLocations[a] && this.model.heroLocations[a].musicInfo
|
|
|
+ if(a!=void 0) return a.music
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ n.prototype.playAudio = function(){
|
|
|
+ if(!manage.musicShouldPlay)return
|
|
|
+ var music = this.getAudio();
|
|
|
+ if(music){
|
|
|
+ var o = music.includes(g_Prefix.slice(-10)) ? music : g_Prefix + music;
|
|
|
+ if(isMobile)o = o.replace('//data/','')//add
|
|
|
let audioSrc1 = g_tourAudio.src.split('/').pop();
|
|
|
let audioSrc2 = o.split('/').pop();
|
|
|
|
|
|
if(audioSrc1 == audioSrc2){//应该是继续播放该folder
|
|
|
if(this.destinationItem[1] == 0){//从头开始播放 因为可能暂停后然后再点该缩略图播
|
|
|
- g_tourAudio.currentTime = 0; g_tourAudio.play();
|
|
|
+ g_tourAudio.currentTime = 0;
|
|
|
+ g_tourAudio.shouldPlay = true
|
|
|
}else if(g_tourAudio.paused && g_tourAudio.currentTime < g_tourAudio.duration){//未播完
|
|
|
g_tourAudio.play();
|
|
|
- }
|
|
|
- g_tourAudio.shouldPlay = true
|
|
|
+ g_tourAudio.shouldPlay = true
|
|
|
+ }
|
|
|
|
|
|
}else{//很可能是该folder的起始
|
|
|
g_tourAudio.src = manage.dealURL(o);
|
|
@@ -5326,7 +5354,19 @@ window.Modernizr = function(n, e, t) {
|
|
|
manage.switchBgmState(false);
|
|
|
g_bgAudio.pauseByTour = true
|
|
|
}
|
|
|
+ return true
|
|
|
}
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ n.prototype.goToDestination = function(e, t, i, n) {
|
|
|
+ //音频
|
|
|
+ //if(this.destinationItem[1] == 0){//如果是每个folder的起始
|
|
|
+
|
|
|
+ this.playAudio()
|
|
|
//}
|
|
|
if (this.onTheBus = !0,
|
|
|
this.emit("update.controls"),
|
|
@@ -9434,11 +9474,11 @@ window.Modernizr = function(n, e, t) {
|
|
|
P.forEach(function(e) {
|
|
|
b.addEventListener(e, u.bind(this, !1), !0),
|
|
|
w.addEventListener(e, u.bind(this, !0), !0),
|
|
|
- E.addEventListener(e, o, !0),
|
|
|
- S.forEach(function(t) {
|
|
|
+ E.addEventListener(e, o, !0)
|
|
|
+ /* S.forEach(function(t) {//会触发导览停止
|
|
|
t.addEventListener(e, a, !0)
|
|
|
}),
|
|
|
- $("#drawer img").on(e, a)
|
|
|
+ $("#drawer img").on(e, a) */
|
|
|
}),
|
|
|
document.addEventListener("keydown", u.bind(this, !1), !0),
|
|
|
C.on(v.TourStart, function() {
|
|
@@ -9493,16 +9533,16 @@ window.Modernizr = function(n, e, t) {
|
|
|
M.addClass(e)
|
|
|
} */
|
|
|
}
|
|
|
- function u(e, t) {
|
|
|
+ function u(e, t) {//导览触发停止
|
|
|
if (t) {
|
|
|
var i = "keydown" === t.type
|
|
|
- , n = t.which === f.SPACE || C.tourIsPlaying;
|
|
|
+ , n = t.which === f.SPACE || C.tourIsPlaying ;
|
|
|
|
|
|
i && n || e || (O = !0),
|
|
|
C.atEndOfTour() && d(),
|
|
|
!C.tourIsPlaying && C.tourInProgress && (_.removeClass("fadeIn"),
|
|
|
d(),
|
|
|
- t.which !== f.SPACE && a()),
|
|
|
+ t.which !== f.SPACE && t.currentTarget == player.domElement && a()),//add currentTarget...
|
|
|
i && n && s()
|
|
|
}
|
|
|
}
|
|
@@ -14995,8 +15035,12 @@ window.Modernizr = function(n, e, t) {
|
|
|
$('#gui-loading').fadeIn(200);
|
|
|
progressUpdate(0.1)
|
|
|
var fileName = g_version ? 'modeldata.js' : 'someData.json' ;
|
|
|
- $.ajax(g_Prefix + "data/"+window.number+"/"+fileName+"?"+randomTime().getTime(),{dataType: "json"}).done( function(e){ //改
|
|
|
+ var url = g_Prefix + (isMobile ? '':'data/') + window.number+"/"+fileName+"?"+randomTime().getTime()
|
|
|
+ $.ajax(url,{dataType: "json"}).done( function(e){ //改
|
|
|
var data = matcher(e);
|
|
|
+ if(isMobile) data.files.templates = ["{{number}}/{{filename}}"]
|
|
|
+
|
|
|
+
|
|
|
data.files.templates[0] = g_Prefix + e.files.templates[0].replace("{{number}}",window.number);
|
|
|
data.user = {
|
|
|
"is_authenticated": false,
|
|
@@ -16398,23 +16442,29 @@ window.Modernizr = function(n, e, t) {
|
|
|
return src
|
|
|
|
|
|
}
|
|
|
- var musicOff = function(){
|
|
|
+ var musicOff = function(ifFinal){
|
|
|
//打开热点的时候把背景音乐关闭了,避免与热点里面的音乐冲突
|
|
|
//g_bgAudio && g_bgAudio.pause();
|
|
|
if(g_bgAudio && !g_bgAudio.paused){
|
|
|
manage.switchBgmState(false);
|
|
|
g_bgAudio.pauseByHot = true
|
|
|
}
|
|
|
- if(SoundOnVideo){
|
|
|
+ /* if(SoundOnVideo){
|
|
|
SoundOnVideo.pauseByHot = true
|
|
|
switchSoundBtn(SoundOnVideo)
|
|
|
- }
|
|
|
+ } */
|
|
|
if(g_tourAudio){
|
|
|
g_tourAudio.pause()
|
|
|
g_tourAudio.shouldPlay = false
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
+ if( !ifFinal ){//有出现过进入热点没有关闭其他声音的所以
|
|
|
+ setTimeout(()=>{window.g_currentHot && musicOff(true)}, 500)
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
hot.prototype.examine = function(e, options) {
|
|
|
try{
|
|
@@ -18546,8 +18596,11 @@ window.Modernizr = function(n, e, t) {
|
|
|
|
|
|
n.prototype.loadhots = function() {//xzw
|
|
|
var e = $.Deferred();
|
|
|
- var t = g_Prefix+"data/" + this.sid + "/data2.js" +'?'+ randomTime().getTime();
|
|
|
-
|
|
|
+ if(isMobile){
|
|
|
+ var t = g_Prefix+/* "data/" + */ this.sid + "/data2.js" +'?'+ randomTime().getTime();
|
|
|
+ }else{
|
|
|
+ var t = g_Prefix+ "data/" + this.sid + "/data2.js" +'?'+ randomTime().getTime();
|
|
|
+ }
|
|
|
|
|
|
|
|
|
return a.get(t, {
|
|
@@ -18560,6 +18613,12 @@ window.Modernizr = function(n, e, t) {
|
|
|
console.error("data2 is null")
|
|
|
}else{
|
|
|
g_data2 = hotMatcher(t);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
this.hotsCount = 0;
|
|
|
/* for(var i in t.hots){
|
|
|
this.hotsCount ++;
|
|
@@ -18570,26 +18629,37 @@ window.Modernizr = function(n, e, t) {
|
|
|
window.hotData = t.hots
|
|
|
t.hots && this.createHotItem(t.hots, this.hots); */
|
|
|
|
|
|
-
|
|
|
+ var changeURL = function(url){
|
|
|
+ var a = url.split('/data/')[1];
|
|
|
+ return 'https://ossxiaoan.4dage.com/cms_army_macao_data/' + a
|
|
|
+ }
|
|
|
|
|
|
//因为热点保存后在hots里的顺序会被修改,所以使用order来记录顺序,这里要重排序:
|
|
|
window.hotData = {}
|
|
|
if(t.hots){
|
|
|
var sids = Object.keys(t.hots).sort((a,b)=>{return t.hots[a].order - t.hots[b].order});
|
|
|
|
|
|
- sids.forEach((sid)=>{
|
|
|
- this.hotsCount++,
|
|
|
- this.hots[sid] = new Hot(sid,t.hots[sid] ,this);
|
|
|
- t.hots[sid].infoAttribute || (t.hots[sid].infoAttribute = {})
|
|
|
- this.hots[sid].initStyleImg(t.hots[sid].infoAttribute);
|
|
|
- window.hotData[sid] = t.hots[sid];
|
|
|
+ sids.forEach((sid)=>{
|
|
|
+ this.hotsCount++
|
|
|
+ var data = t.hots[sid]
|
|
|
+ this.hots[sid] = new Hot(sid, data ,this);
|
|
|
+ data.infoAttribute || (data.infoAttribute = {})
|
|
|
+ if(isMobile){
|
|
|
+ data.infoAttribute.images = data.infoAttribute.images.map(e=>changeURL(e))
|
|
|
+ data.infoAttribute.styleImg = data.infoAttribute.styleImg.map(e=>changeURL(e))
|
|
|
+ data.infoAttribute.video = data.infoAttribute.video.map(e=> {return {url:changeURL(e.url)}})
|
|
|
+ }
|
|
|
+ this.hots[sid].initStyleImg(data.infoAttribute);
|
|
|
+ window.hotData[sid] = data;
|
|
|
})
|
|
|
}
|
|
|
this.createHotItem(window.hotData, this.hots);
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ if(isMobile){
|
|
|
+ g_data2.overlays.forEach(e=>{
|
|
|
+ e.file = changeURL(e.file)
|
|
|
+ })
|
|
|
+ }
|
|
|
|
|
|
|
|
|
g_index = w.valueFromHash("m");
|
|
@@ -21678,7 +21748,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
n.prototype.warpTravel_BLACK = function(e, t, i, n) {
|
|
|
var r = e || 0;
|
|
|
void 0 !== t && null !== t || (t = c.warp.teleportTime)
|
|
|
-
|
|
|
+ player.transitionPos({type:"beforeFlytopano", dur:t})//add
|
|
|
updateVideo({type:"beforeFlytopano", pano : player.model.panos.index[this.warpDestHeroLoc.panoId], dur:t})//add
|
|
|
if(momentTourBlackNewType){
|
|
|
player.sceneRenderer.effects.transitionMaskPass.start(player.sceneRenderer)
|
|
@@ -21691,12 +21761,15 @@ window.Modernizr = function(n, e, t) {
|
|
|
player.sceneRenderer.effects.transitionMaskPass.stop()
|
|
|
updateVideo({type:"flyDone", pano : player.currentPano})//add
|
|
|
this.wrapupWarpShadingOnly(n, i);
|
|
|
+ Overlay.updateVisibles([player.currentPano])
|
|
|
+
|
|
|
},t)
|
|
|
|
|
|
}else{
|
|
|
var o = function() {
|
|
|
this.wrapupWarpShadingOnly(n, i);
|
|
|
updateVideo({type:"flyDone", pano:player.currentPano})//add
|
|
|
+ Overlay.updateVisibles([player.currentPano])
|
|
|
}
|
|
|
.bind(this);
|
|
|
p.start(this.stepWarpPath.bind(this), t, o, r, d[c.warp.blendEasing], "stepMotion")
|
|
@@ -22834,8 +22907,8 @@ window.Modernizr = function(n, e, t) {
|
|
|
if(this.checkHotClick())//add
|
|
|
return !0;
|
|
|
|
|
|
- if(checkSoundBtnClick(this.intersect))//add
|
|
|
- return !0;
|
|
|
+ /* if(checkSoundBtnClick(this.intersect))//add
|
|
|
+ return !0; */
|
|
|
if(this.hoveringPlane){
|
|
|
this.clickOverlay(this.hoveringPlane)
|
|
|
return;
|