fix split/merge. avoid mirroring cached array

This commit is contained in:
Stewart Allen 2022-01-20 00:33:42 -05:00
commit f28cd07ba1
4 changed files with 8 additions and 3 deletions

View file

@ -143,10 +143,13 @@ mesh.model = class MeshModel extends mesh.object {
id: this.id,
opt
}).then(data => {
mesh.api.group.new([new mesh.model({
let group = mesh.api.group.new([new mesh.model({
file: `${this.file}`,
mesh: data
})]).setSelected();
if (opt.mirror) {
group.move(0, 0, group.bounds.dim.z);
}
});
}