|
|
@@ -18064,6 +18064,14 @@ window.Modernizr = function(n, e, t) {
|
|
|
,
|
|
|
n.prototype.build = function() {
|
|
|
this.heroLocations = this.images.getHeroLocations(this.panos);
|
|
|
+
|
|
|
+
|
|
|
+ //重点展位:
|
|
|
+
|
|
|
+ let index = this.heroLocations.findIndex(e=>e.name == '沉浸看展')
|
|
|
+ this.heroLocations2 = this.heroLocations.splice(0,index) //提取沉浸看展之前的
|
|
|
+
|
|
|
+
|
|
|
var e = function() {
|
|
|
return !!(this.heroImage && this.heroImage.metadata && this.heroImage.metadata.scan_id && this.panos.get(this.heroImage.metadata.scan_id)) && !this.panos.get(this.heroImage.metadata.scan_id).isAligned()
|
|
|
}
|
|
|
@@ -59230,8 +59238,8 @@ class PanTransGuide{
|
|
|
aimNode = this.nodes[this.currentIndex]
|
|
|
}
|
|
|
|
|
|
- let dis = this.player.model.panos.get(aimNode.panoId).position.distanceTo(this.player.position)
|
|
|
- let moveStyle = dis < 10 ? "flyToPano" : "blackToPano"
|
|
|
+ //let dis = this.player.model.panos.get(aimNode.panoId).position.distanceTo(this.player.position)
|
|
|
+ let moveStyle = /* dis < 10 ? */"flyToPano" /* : "blackToPano" */
|
|
|
this.player[moveStyle]({pano: this.player.model.panos.get(aimNode.panoId),quaternion:aimNode.quaternion})
|
|
|
|
|
|
}
|