fix recentering
This commit is contained in:
parent
cd978a85c3
commit
77e4d39431
6 changed files with 27 additions and 46 deletions
|
|
@ -36,7 +36,7 @@ class MeshGroup extends meshObject {
|
|||
get bounds() {
|
||||
let box3 = new Box3();
|
||||
for (let model of this.models) {
|
||||
box3.union(model.world_bounds);
|
||||
box3.union(model.bounds);
|
||||
}
|
||||
return box3;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue