xzw 2 gadi atpakaļ
vecāks
revīzija
0e9dce6b7e

+ 2 - 2
public/static/lib/potree/potree.js

@@ -82414,7 +82414,7 @@ void main()
 	    focus(){  
 	    
 	    
-	        let dontChangeCamDir = viewer.mainViewport.camera.type == 'OrthographicCamera' && math.closeTo( viewer.mainViewport.view.pitch , -1.57079632);  //俯视图不改角度
+	        let dontChangeCamDir = viewer.mainViewport.camera.type == 'OrthographicCamera'; /* && math.closeTo( viewer.mainViewport.view.pitch , -1.57079632)  */ // 不改角度
 	    
 	        viewer.focusOnObject(this, 'measure', null, {dontChangeCamDir});
 	        
@@ -139328,7 +139328,7 @@ ENDSEC
 	                boundSize.y = Math.max(min, boundSize.y);
 	            }
 	            if(camera.type == 'OrthographicCamera'){
-	                dis = boundSize.length() / 2;
+	                dis = boundSize.length();  
 	            }else {
 	                let aspect = boundSize.x / boundSize.y;
 	                if(camera.aspect > aspect){//视野更宽则用bound的纵向来决定

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
public/static/lib/potree/potree.js.map