xzw 4 月之前
父節點
當前提交
f504c02c47
共有 1 個文件被更改,包括 3 次插入1 次删除
  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);
                 scale = 1.0//0.9; 
             }
-            
+            if(o.boundScale){
+                scale = o.boundScale
+            }
             boundSize = bound.getSize(new THREE.Vector3)
             
             {