修复:控制器错误的操作被删除的实体

pull/1792/MERGE
ChenX 3 years ago
parent f058df6a9f
commit 9b6bd93870

@ -128,6 +128,8 @@ export class TransformServicess implements EditorService
let axes = this.CurAxes; let axes = this.CurAxes;
let index = axes.AxtiveIndex; let index = axes.AxtiveIndex;
this._Ents = this._Ents.filter(e => !e.IsErase);
if (axes instanceof TranslateGizmo) if (axes instanceof TranslateGizmo)
{ {
if (index >= 0 && index < 3) if (index >= 0 && index < 3)

Loading…
Cancel
Save