修复:样条线拉伸在其他视图下的行为问题

pull/1563/head
ChenX 3 years ago
parent 199cd0902b
commit 4a81e407a7

@ -121,6 +121,7 @@ export class Spline extends Curve
}
MoveGripPoints(indexList: Array<number>, vec: Vector3)
{
vec = vec.clone().applyMatrix4(this.OCSInv).setZ(0);
this.WriteAllObjectRecord();
for (let index of indexList)
this._PointList[index].add(vec);
@ -128,6 +129,7 @@ export class Spline extends Curve
}
MoveStretchPoints(indexList: Array<number>, vec: Vector3)
{
vec = vec.clone().applyMatrix4(this.OCSInv).setZ(0);
this.WriteAllObjectRecord();
for (let index of indexList)
this._PointList[index].add(vec);

Loading…
Cancel
Save