|
@@ -1540,7 +1540,7 @@ function initByTHREE(THREE){
|
|
|
|
|
|
|
|
|
|
update(currentFloor){
|
|
update(currentFloor){
|
|
- if(!this.position || !this.visible)return
|
|
|
|
|
|
+ if(!this.position)return
|
|
|
|
|
|
if(!this.visible && this.unvisibleReasons.some(e=>e.level == 1) && !this.unvisibleReasons.some(e=>e.level>1) )return;
|
|
if(!this.visible && this.unvisibleReasons.some(e=>e.level == 1) && !this.unvisibleReasons.some(e=>e.level>1) )return;
|
|
var p = convertTool.getPos2d(this.position);
|
|
var p = convertTool.getPos2d(this.position);
|