修复:移除重载的Extrude.Position

pull/1990/MERGE
ChenX 2 years ago
parent 4b7c59fdc1
commit d0bf75fa5b

@ -306,23 +306,6 @@ export class ExtrudeSolid extends Entity
return this;
}
get Position(): Vector3
{
return super.Position;
}
set Position(p: Vector3)
{
let v = p.clone().sub(this.Position);
if (equalv3(v, ZeroVec)) return;
super.Position = p;
let m = MoveMatrix(v);
for (let g of this.grooves)
g.ApplyMatrix(m);
//由于修改矩阵会导致bsp错误
this.csg = undefined;
}
get Width()
{

Loading…
Cancel
Save