|
|
|
@ -28,6 +28,7 @@ export class TempEditor
|
|
|
|
|
throw "重复进入临时编辑模式!";
|
|
|
|
|
|
|
|
|
|
this.EditorIng = true;
|
|
|
|
|
app.Editor.SelectCtrl.Cancel();
|
|
|
|
|
this.viewerScene = app.Viewer.Scene;
|
|
|
|
|
app.Viewer.Scene = this.editorScene;
|
|
|
|
|
this.editorScene.add(app.Viewer.GripScene);
|
|
|
|
@ -48,8 +49,7 @@ export class TempEditor
|
|
|
|
|
this.EditorIng = false;
|
|
|
|
|
app.Viewer.Scene = this.viewerScene;
|
|
|
|
|
app.Viewer.Scene.add(app.Viewer.GripScene);
|
|
|
|
|
app.Viewer.OutlinePass.selectedObjects.length = 0;
|
|
|
|
|
app.Viewer.OutlinePass.renderObjects.length = 0;
|
|
|
|
|
app.Editor.SelectCtrl.Cancel();
|
|
|
|
|
|
|
|
|
|
let showLog = HostApplicationServices.ShowHistoryLog;
|
|
|
|
|
HostApplicationServices.ShowHistoryLog = false;
|
|
|
|
|