|
@@ -1072,14 +1072,14 @@ window.initHot = function(model){
|
|
|
var i = []
|
|
|
, n = []
|
|
|
, r = this.mesh.getWorldPosition();
|
|
|
- if (e === "panorama") {
|
|
|
+ /* if (e === "panorama") {
|
|
|
var o = t.position.clone().sub(r).normalize();
|
|
|
n.push(function(t, i) {//scoreFunctions.direction
|
|
|
return function(e) {
|
|
|
return e.position.clone().sub(t).normalize().dot(i) * window._settings.navigation.directionFactor
|
|
|
}}(r, o)
|
|
|
)
|
|
|
- }
|
|
|
+ } */
|
|
|
var a = new THREE.Vector3;
|
|
|
i.push(function(e) {
|
|
|
return Math.abs(e.position.x - r.x) > window._settings.tags.visibility.cameraClearance || Math.abs(e.position.z - r.z) > window._settings.tags.visibility.cameraClearance
|
|
@@ -1394,7 +1394,7 @@ window.initHot = function(model){
|
|
|
|
|
|
setTimeout(Hot.loadNext, 50)
|
|
|
hotGroup.children.forEach(e=>{
|
|
|
- if(e.info.texSrc == this.info.texSrc){
|
|
|
+ if(e.info.texSrc == this.info.texSrc && e.info.texType == type){
|
|
|
e.material_.color.set("#FFFFFF")
|
|
|
e.material_.opacity = 1;
|
|
|
console.log('overlay loaded: ' + e.sid + " - " + this.info.texSrc.split('/').pop());
|