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