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
|
|
@ -20,6 +20,7 @@ mesh.object = class MeshObject {
|
|||
|
||||
constructor(id) {
|
||||
this.id = id || mesh.util.uuid();
|
||||
this.deferUBB = () => { this.updateBoundsBox() };
|
||||
worker.object_create({id: this.id, type: this.type});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue