xzw hai 1 mes
pai
achega
f504c02c47
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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)
             
             {