|
|
|
@ -478,9 +478,8 @@ export class Viewer
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let box = new Box3();
|
|
|
|
|
ens.reduce((b, e) => b.union(e.BoundingBox), box);
|
|
|
|
|
if (box.isEmpty())
|
|
|
|
|
return;
|
|
|
|
|
for (let e of ens) box.union(e.BoundingBox);
|
|
|
|
|
if (box.isEmpty()) return;
|
|
|
|
|
this.CameraCtrl.ZoomExtensBox3(box);
|
|
|
|
|
this.CameraCtrl.Zoom(1.2);
|
|
|
|
|
this.UpdateRender();
|
|
|
|
|