|
|
@ -262,7 +262,7 @@ export class ViewportEntity extends Entity
|
|
|
|
pts[index].add(moveVec);
|
|
|
|
pts[index].add(moveVec);
|
|
|
|
this.UpdateByPts(pts[index], pts[FixIndex(index + 2, 4)]);
|
|
|
|
this.UpdateByPts(pts[index], pts[FixIndex(index + 2, 4)]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.Update(UpdateDraw.Geometry);
|
|
|
|
this.Update();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ZoomAll()
|
|
|
|
ZoomAll()
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -336,11 +336,6 @@ export class ViewportEntity extends Entity
|
|
|
|
super.GoodBye();
|
|
|
|
super.GoodBye();
|
|
|
|
this._RenderTarget.dispose();
|
|
|
|
this._RenderTarget.dispose();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
DeferUpdate()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
this.NeedUpdateTexture = true;
|
|
|
|
|
|
|
|
super.DeferUpdate();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
UpdateScene()
|
|
|
|
UpdateScene()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
let hideIndexs = new Set(this.HideObjects.map(i => i.Index.toString()));
|
|
|
|
let hideIndexs = new Set(this.HideObjects.map(i => i.Index.toString()));
|
|
|
|