xzw 1 ay önce
ebeveyn
işleme
f504c02c47
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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)
             
             
             {
             {