|
@@ -16185,8 +16185,10 @@ window.Modernizr = function(n, e, t) {
|
|
}
|
|
}
|
|
this.quaternion || (this.quaternion = new THREE.Quaternion().setFromEuler(this.rotation))
|
|
this.quaternion || (this.quaternion = new THREE.Quaternion().setFromEuler(this.rotation))
|
|
this.isSprite = d.isSprite
|
|
this.isSprite = d.isSprite
|
|
- this.noAction = d.noAction
|
|
|
|
|
|
+ this.actionType = (d.noAction ? 'noAction' : d.actionType) || "common"
|
|
this.linkType = d.linkType || "common"
|
|
this.linkType = d.linkType || "common"
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
this.link = d.link;
|
|
this.link = d.link;
|
|
this.model = model;
|
|
this.model = model;
|
|
@@ -16348,7 +16350,7 @@ window.Modernizr = function(n, e, t) {
|
|
hot.prototype.examine = function(e, options) {
|
|
hot.prototype.examine = function(e, options) {
|
|
options = options || {}
|
|
options = options || {}
|
|
|
|
|
|
- if(!player.currentPano)return;
|
|
|
|
|
|
+ if(this.actionType == 'noAction' || !player.currentPano)return;
|
|
var hotPop = document.getElementById('popup');
|
|
var hotPop = document.getElementById('popup');
|
|
//获取那个热点的链接
|
|
//获取那个热点的链接
|
|
if(this.link){
|
|
if(this.link){
|
|
@@ -16383,7 +16385,7 @@ window.Modernizr = function(n, e, t) {
|
|
}.bind(this);
|
|
}.bind(this);
|
|
|
|
|
|
|
|
|
|
- if(settings.dontExamHot){
|
|
|
|
|
|
+ if(settings.dontExamHot || this.actionType == 'dontExam'){
|
|
o();
|
|
o();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -18389,10 +18391,14 @@ window.Modernizr = function(n, e, t) {
|
|
c = player.overlayGroup.children.find(e=>e.sid == '1626743604266')
|
|
c = player.overlayGroup.children.find(e=>e.sid == '1626743604266')
|
|
d = player.overlayGroup.children.find(e=>e.sid == '1626743691935')
|
|
d = player.overlayGroup.children.find(e=>e.sid == '1626743691935')
|
|
d.plane.material = c.plane.material;//同步视频
|
|
d.plane.material = c.plane.material;//同步视频
|
|
- var main = player.overlayGroup.children.find(e=>e.sid == "1626743467424")
|
|
|
|
|
|
+ var main = player.overlayGroup.children.find(e=>e.sid == "1626743467424")
|
|
|
|
+
|
|
main.forceNoBlock = true
|
|
main.forceNoBlock = true
|
|
main.unvisiblePanos = ["bfacbd2e303c45baa16fdc961e0f6f67","4f2155cb4a7f43e980e9218974c17882",]
|
|
main.unvisiblePanos = ["bfacbd2e303c45baa16fdc961e0f6f67","4f2155cb4a7f43e980e9218974c17882",]
|
|
|
|
|
|
|
|
+ c.playAccordingTo = main
|
|
|
|
+ d.playAccordingTo = main
|
|
|
|
+
|
|
//main.plane.material.depthTest = false
|
|
//main.plane.material.depthTest = false
|
|
c.plane.material.map.image.loop = false
|
|
c.plane.material.map.image.loop = false
|
|
main.plane.material.map.image.loop = false
|
|
main.plane.material.map.image.loop = false
|
|
@@ -23310,7 +23316,7 @@ window.Modernizr = function(n, e, t) {
|
|
,
|
|
,
|
|
n.prototype.checkHotClick = function() {
|
|
n.prototype.checkHotClick = function() {
|
|
if(this.intersectHot){
|
|
if(this.intersectHot){
|
|
- this.intersectHot.noAction || this.intersectHot.examine(this)
|
|
|
|
|
|
+ this.intersectHot.examine(this)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -23433,7 +23439,7 @@ window.Modernizr = function(n, e, t) {
|
|
if(o.object.type == "hotSprite"){ //add
|
|
if(o.object.type == "hotSprite"){ //add
|
|
this.intersectHot = o.object.belongHot;
|
|
this.intersectHot = o.object.belongHot;
|
|
this.intersectHot.showTitle()
|
|
this.intersectHot.showTitle()
|
|
- this.intersectHot.noAction || $("#player").css("cursor","pointer");
|
|
|
|
|
|
+ this.intersectHot.actionType == 'noAction' || $("#player").css("cursor","pointer");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -24322,11 +24328,12 @@ window.Modernizr = function(n, e, t) {
|
|
|
|
|
|
if(this.mode == u.PANORAMA){
|
|
if(this.mode == u.PANORAMA){
|
|
Overlay.updateVisibles([this.currentPano])
|
|
Overlay.updateVisibles([this.currentPano])
|
|
|
|
+ this.overlayGroup.children.find(e=>e.forceNoBlock).plane.material.depthTest = false
|
|
}else{
|
|
}else{
|
|
Overlay.updateVisibles(true)
|
|
Overlay.updateVisibles(true)
|
|
}
|
|
}
|
|
|
|
|
|
- this.overlayGroup.children.find(e=>e.forceNoBlock).plane.material.depthTest = false
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -31172,11 +31179,11 @@ window.Modernizr = function(n, e, t) {
|
|
var urlFirstView = c.valueFromHash('firstView');
|
|
var urlFirstView = c.valueFromHash('firstView');
|
|
if(urlFirstView){
|
|
if(urlFirstView){
|
|
try{
|
|
try{
|
|
- urlFirstView = replaceAll(urlFirstView, "pano", '"pano"')
|
|
|
|
- urlFirstView = replaceAll(urlFirstView, "qua:", '"qua":[')
|
|
|
|
|
|
+ urlFirstView = replaceAll(urlFirstView, "pano:", '"pano":"')
|
|
|
|
+ urlFirstView = replaceAll(urlFirstView, ",qua:", '","qua":[')
|
|
urlFirstView = "{"+urlFirstView+"]}"
|
|
urlFirstView = "{"+urlFirstView+"]}"
|
|
let info = JSON.parse(urlFirstView);
|
|
let info = JSON.parse(urlFirstView);
|
|
- i.pano = t.list[info.pano] //panos.get(info.pano)
|
|
|
|
|
|
+ i.pano = t.index[info.pano] //panos.get(info.pano)
|
|
if(!i.pano){
|
|
if(!i.pano){
|
|
urlFirstView = false
|
|
urlFirstView = false
|
|
console.error('检测到firstView但是 找不到该pano')
|
|
console.error('检测到firstView但是 找不到该pano')
|