select bottom of new split (for easy deletion)

This commit is contained in:
Stewart Allen 2022-01-16 00:42:36 -05:00
commit a18bce59e1
2 changed files with 4 additions and 3 deletions

View file

@ -357,14 +357,14 @@ mesh.model = class MeshModel extends mesh.object {
file: `${this.file}`,
mesh: o2
}).applyMatrix4(m4)).select();
// this becomes bottom
if (o1.length) {
// this becomes bottom
this.reload(o1);
resolve(this);
} else {
this.remove();
resolve(model);
}
// return the split model
resolve(model);
});
});
}