修正初始化文档时的历史记录错误问题

pull/572/MERGE
ChenX 5 years ago
parent 3bec9074ee
commit d513417122

@ -58,8 +58,7 @@ export class Database
this.Lights = new BlockTableRecord().SetOwnerDatabase(this);
this.hm = new HistoricManage().SetDefaultDb(this);
if (disableHistoric)
this.hm.Enable = false;
this.hm.Enable = false;
if (buildDefaultDrawing)
{
@ -85,6 +84,8 @@ export class Database
this.InitLight();
}
this.hm.Enable = !disableHistoric;
//100以内的id是系统保留id,默认初始化内部对象.
this.idIndex = 100;
}

Loading…
Cancel
Save