fix bounding box update for model changes. add menu for it
This commit is contained in:
parent
fc1cc15bfe
commit
a6b85d4a59
4 changed files with 8 additions and 1 deletions
|
|
@ -89,9 +89,9 @@ function restore_space() {
|
|||
let models = data.map(id => {
|
||||
let md = cached[id];
|
||||
let m = md ? new mesh.model(md, id) : undefined;
|
||||
if (m) mesh.api.log.emit(`restored | ${m.file}`);
|
||||
return m;
|
||||
}).filter(m => m);
|
||||
mesh.api.log.emit(`restored ${models.length} model(s)`);
|
||||
mesh.api.group.new(models, id)
|
||||
.centerModels()
|
||||
.centerXY()
|
||||
|
|
|
|||
Loading…
Reference in a new issue