fix selected group after split
This commit is contained in:
parent
5d2f4ac02e
commit
d088512758
1 changed files with 3 additions and 3 deletions
|
|
@ -386,11 +386,11 @@ mesh.model = class MeshModel extends mesh.object {
|
|||
this.group.add(model = new mesh.model({
|
||||
file: `${this.file}`,
|
||||
mesh: o2
|
||||
}).applyMatrix4(m4)).setSelected();
|
||||
}).applyMatrix4(m4));
|
||||
if (o1.length) {
|
||||
// this becomes bottom
|
||||
// o1 becomes bottom
|
||||
this.reload(o1);
|
||||
resolve(this);
|
||||
resolve(model);
|
||||
} else {
|
||||
this.remove();
|
||||
resolve(model);
|
||||
|
|
|
|||
Loading…
Reference in a new issue