设置Db的Id分配开始位置为100.

pull/237/MERGE
ChenX 6 years ago
parent 6a978832f3
commit 35f265055d

@ -22,7 +22,7 @@ export class Command_Insert implements Command
let finfo: FileInfo; let finfo: FileInfo;
let props = { let props = {
files, res: (f) => files, res: (f: FileInfo) =>
{ {
finfo = f; finfo = f;
} }

@ -33,6 +33,9 @@ export class Database
this.TextureTable = new TextureTable().SetOwnerDatabase(this); this.TextureTable = new TextureTable().SetOwnerDatabase(this);
this.hm = new HistoricManage().SetDefaultDb(this); this.hm = new HistoricManage().SetDefaultDb(this);
//100以内的id是系统保留id,默认初始化内部对象.
this.idIndex = 100;
} }
Destroy() Destroy()
{ {
@ -139,10 +142,9 @@ export class Database
} }
/** /**
* *
* @param outputDataBase * @param outputDatabase
* @param objects * @param objects
* @param basePoint * @param basePoint
* @param cloning * @param cloning

Loading…
Cancel
Save