修改代码
This commit is contained in:
parent
d1281b0346
commit
f84d221857
@ -44,6 +44,7 @@ class AbstractShape extends Group {
|
||||
this.model.base.position[1] = this.model.base.position[1] + dy;
|
||||
this.instance.origin = utils.createOrigin(this.instance);
|
||||
this.instance.transform = utils.createTransform({scale: this.model.base.scale, position: this.model.base.position, rotation: this.model.base.rotation*Math.PI/180});
|
||||
this.dirty();
|
||||
}
|
||||
|
||||
// 修改属性
|
||||
|
Loading…
Reference in New Issue
Block a user