xzw před 2 měsíci
rodič
revize
f504c02c47
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      src/custom/viewer/ViewerNew.js

+ 3 - 1
src/custom/viewer/ViewerNew.js

@@ -3621,7 +3621,9 @@ export class Viewer extends ViewerBase{
                 bound = boundingBox.applyMatrix4(inv);
                 bound = boundingBox.applyMatrix4(inv);
                 scale = 1.0//0.9; 
                 scale = 1.0//0.9; 
             }
             }
-            
+            if(o.boundScale){
+                scale = o.boundScale
+            }
             boundSize = bound.getSize(new THREE.Vector3)
             boundSize = bound.getSize(new THREE.Vector3)
             
             
             {
             {