!1257 修复:视口错误更新问题

pull/1257/MERGE
ZoeLeeFZ 4 years ago committed by ChenX
parent d02d335d15
commit ce543e848f

@ -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()));

Loading…
Cancel
Save