xzw 2 anos atrás
pai
commit
a696c62142

+ 8 - 9
public/static/lib/potree/potree.js

@@ -73615,11 +73615,8 @@ void main()
 	                type: 'isVisible',
 	                visible: shouldVisi,
 	                reason,
-	            }); 
-	             
-	        }
-	        
-	        
+	            });  
+	        } 
 	    };    
 	    
 	    
@@ -73654,10 +73651,12 @@ void main()
 	    update(); 
 	    
 	}; 
-	 
-	 
-	 
-	 
+	/* 
+	    复杂案例: 如果物体默认隐藏, 当符合任何一个其他条件时可见,则可:
+	    Potree.Utils.updateVisible(this, "default", false, 0 ) //默认隐藏    
+	    Potree.Utils.updateVisible(this, 条件名,  ifShow, 1, ifShow?'add':'cancel' ) //其他的条件
+	*/ 
+
 	Utils.getObjVisiByReason = function(object,reason){//获取在某条件下是否可见.  注: 用户在数据集选择可不可见为"datasetSelection"
 	    if(object.visible)return true
 	    else {

Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
public/static/lib/potree/potree.js.map