|
|
@ -62,8 +62,11 @@ export class BoardEdgesEditor
|
|
|
|
|
|
|
|
|
|
|
|
async EndEditor(cancel = false)
|
|
|
|
async EndEditor(cancel = false)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!this._editoring)
|
|
|
|
if (!this._editoring) return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
//马上标记为否,避免重入
|
|
|
|
|
|
|
|
this._editoring = false;
|
|
|
|
|
|
|
|
|
|
|
|
app.Viewer.CameraCtrl.ReadFile(this._cameraFiler);
|
|
|
|
app.Viewer.CameraCtrl.ReadFile(this._cameraFiler);
|
|
|
|
this.ParseData();
|
|
|
|
this.ParseData();
|
|
|
|
await app.Editor.ModalManage.EndExecingCmd();
|
|
|
|
await app.Editor.ModalManage.EndExecingCmd();
|
|
|
@ -73,7 +76,6 @@ export class BoardEdgesEditor
|
|
|
|
|
|
|
|
|
|
|
|
AppToaster.clear();
|
|
|
|
AppToaster.clear();
|
|
|
|
this._brMap.clear();
|
|
|
|
this._brMap.clear();
|
|
|
|
this._editoring = false;
|
|
|
|
|
|
|
|
this._cameraFiler = undefined;
|
|
|
|
this._cameraFiler = undefined;
|
|
|
|
|
|
|
|
|
|
|
|
app.Editor.MaskManage.Clear();
|
|
|
|
app.Editor.MaskManage.Clear();
|
|
|
|