add sketch + sketch item snap move / scale
This commit is contained in:
parent
a6be28907c
commit
257d841b0a
5 changed files with 56 additions and 18 deletions
|
|
@ -136,8 +136,8 @@ mesh.model = class MeshModel extends mesh.object {
|
|||
if (start) {
|
||||
let mid = this.bounds.mid;
|
||||
this._save = {
|
||||
pos: Object.assign({},mid),
|
||||
start: Object.assign({},mid),
|
||||
pos: Object.assign({}, mid),
|
||||
start: Object.assign({}, mid),
|
||||
}
|
||||
} else if (end) {
|
||||
delete this._save;
|
||||
|
|
|
|||
Loading…
Reference in a new issue