From 9b6bd938704196afab1f6e4daf2e3947987db18e Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 10 Jan 2022 14:11:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=E6=8E=A7=E5=88=B6=E5=99=A8?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E6=93=8D=E4=BD=9C=E8=A2=AB=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=9A=84=E5=AE=9E=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Editor/TranstrolControl/TransformServices.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Editor/TranstrolControl/TransformServices.ts b/src/Editor/TranstrolControl/TransformServices.ts index 118096e69..8f075993e 100644 --- a/src/Editor/TranstrolControl/TransformServices.ts +++ b/src/Editor/TranstrolControl/TransformServices.ts @@ -128,6 +128,8 @@ export class TransformServicess implements EditorService let axes = this.CurAxes; let index = axes.AxtiveIndex; + this._Ents = this._Ents.filter(e => !e.IsErase); + if (axes instanceof TranslateGizmo) { if (index >= 0 && index < 3)