|
|
|
@ -50,7 +50,6 @@ export class TempEditor
|
|
|
|
|
app.Viewer.Scene.add(app.Viewer.GripScene);
|
|
|
|
|
app.Viewer.OutlinePass.selectedObjects.length = 0;
|
|
|
|
|
app.Viewer.OutlinePass.renderObjects.length = 0;
|
|
|
|
|
DisposeThreeObj(this.editorScene);
|
|
|
|
|
|
|
|
|
|
let showLog = HostApplicationServices.ShowHistoryLog;
|
|
|
|
|
HostApplicationServices.ShowHistoryLog = false;
|
|
|
|
@ -58,6 +57,8 @@ export class TempEditor
|
|
|
|
|
while (app.Database.hm.curIndex !== this.hmIndex)
|
|
|
|
|
app.Database.hm.Undo();
|
|
|
|
|
|
|
|
|
|
DisposeThreeObj(this.editorScene);
|
|
|
|
|
|
|
|
|
|
app.Database.hm.StartCmd("");
|
|
|
|
|
app.Database.hm.EndCmd();
|
|
|
|
|
HostApplicationServices.ShowHistoryLog = showLog;
|
|
|
|
|