From d9f1172ef251ba408562f56ec51e0ec2f017b72d Mon Sep 17 00:00:00 2001 From: ChenX Date: Fri, 16 Aug 2019 16:14:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=A4=B9=E7=82=B9=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E5=9B=9E=E5=BD=92=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ApplicationServices/Application.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ApplicationServices/Application.ts b/src/ApplicationServices/Application.ts index c8e7dde2a..8703bdad0 100644 --- a/src/ApplicationServices/Application.ts +++ b/src/ApplicationServices/Application.ts @@ -59,7 +59,7 @@ export class ApplicationService let gt = new Gesture(this.Editor); RegisterGesture(gt); - + //夹点显示 let selectCtrl = this.Editor.SelectCtrl; end(selectCtrl, selectCtrl.AddSelect, (ss: SelectSetBase) => { @@ -73,6 +73,10 @@ export class ApplicationService this.Viewer.GripScene.Remove(obj); this.Viewer.UpdateRender(); }); + end(selectCtrl, selectCtrl.Cancel, () => + { + this.Viewer.GripScene.Clear(); + }); begin(commandMachine, commandMachine.CommandStart, () => {