!1207 修复:布局空间数据库错误

pull/1207/MERGE
ZoeLeeFZ 4 years ago committed by ChenX
parent 8fdc5de084
commit d1b689c0f4

@ -24,7 +24,6 @@ import { TemplateTable } from './Template/TemplateTable';
import { TextureTableRecord } from './Texture';
import { TextureTable } from './TextureTable';
import { WblockCloneFiler } from './WblockCloneFiler';
import { ViewportEntity } from './ViewportEntity';
interface OwnerContainer
{
@ -64,11 +63,9 @@ export class Database
this.GroupTable = new GroupTable().SetOwnerDatabase(this);
this.Lights = new BlockTableRecord().SetOwnerDatabase(this);
this.ProcessingGroupTable = new ProcessingGroupTable().SetOwnerDatabase(this);
this.LayoutSpace = new BlockTableRecord().SetOwnerDatabase(this);
this.hm = new HistoricManage().SetDefaultDb(this);
this.hm.Enable = false;
this.LayoutSpace = new BlockTableRecord().SetOwnerDatabase(this);
if (buildDefaultDrawing)
{
@ -139,7 +136,6 @@ export class Database
this.idIndex = 1;
this.ModelSpace.SetOwnerDatabase(this);
this.LayoutSpace.SetOwnerDatabase(this);
this.MaterialTable.SetOwnerDatabase(this);
this.TextureTable.SetOwnerDatabase(this);
this.TemplateTable.SetOwnerDatabase(this);
@ -147,6 +143,7 @@ export class Database
this.Lights.SetOwnerDatabase(this);
this.ProcessingGroupTable.SetOwnerDatabase(this);
this.hm.SetOwnerDatabase(this);
this.LayoutSpace.SetOwnerDatabase(this);
this.idIndex = 100;
}

Loading…
Cancel
Save