|
|
@@ -14933,12 +14933,12 @@ window.Modernizr = function(n, e, t) {
|
|
|
}else{
|
|
|
SoundManager.setSrc('bgm', window.DATA.backgroundMusic )
|
|
|
}
|
|
|
- $("#volume").show();
|
|
|
+ $("#bgm").show();
|
|
|
}else if (g_version === "one"){
|
|
|
SoundManager.setSrc('bgm', manage.dealURL( g_Prefix+"/audio/"+"audio"+window.number + "/background.mp3"))
|
|
|
|
|
|
|
|
|
- $("#volume").show();
|
|
|
+ $("#bgm").show();
|
|
|
}
|
|
|
|
|
|
//隐藏公司logo
|
|
|
@@ -23145,6 +23145,13 @@ window.Modernizr = function(n, e, t) {
|
|
|
, c = e.constantMoveSpeed
|
|
|
, h = null
|
|
|
, p = null
|
|
|
+ //-----add-------
|
|
|
+ let blackList = ['1','2','3']
|
|
|
+ if(blackList.includes(this.currentPano.id) || blackList.includes(i.id)){
|
|
|
+ return this.blackToPano(e)
|
|
|
+ }
|
|
|
+ //-------------------
|
|
|
+
|
|
|
|
|
|
if (aim){
|
|
|
var _ = (new r.Matrix4).lookAt(i.position, aim, d.UP)
|
|
|
@@ -58855,11 +58862,18 @@ class PanTransGuide{
|
|
|
path.setWarpDestPano()
|
|
|
let A = path.getHeroPano(last),
|
|
|
B = path.warpDestPano
|
|
|
- path.nodes = path.findShortestPath(A, B)
|
|
|
- if(path.nodes == null){//两个点之间不相通
|
|
|
- console.log('两个点之间不相通',A.id,B.id)
|
|
|
+ if(e.momentTour == 'black'){
|
|
|
path.nodes = [A.id,B.id];//直接加入
|
|
|
+ }else{
|
|
|
+ path.nodes = path.findShortestPath(A, B)
|
|
|
+ if(path.nodes == null){//两个点之间不相通
|
|
|
+ console.log('两个点之间不相通',A.id,B.id)
|
|
|
+ path.nodes = [A.id,B.id];//直接加入
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
let wholeDis = 0, disSections = []
|
|
|
path.nodes.forEach((cur,i)=>{
|
|
|
if(i==0)return
|