|
|
@ -265,6 +265,16 @@ export class TemplateRecord extends SymbolTableRecord
|
|
|
|
for (let param of this.Params)
|
|
|
|
for (let param of this.Params)
|
|
|
|
paramMap.set(param.name, param);
|
|
|
|
paramMap.set(param.name, param);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this._Positioning)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
await this._Positioning.Positioning();
|
|
|
|
|
|
|
|
if (!this._Positioning.SpaceCS)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Log("模块定位错误!");
|
|
|
|
|
|
|
|
return;//出事故
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for (let en of ens)
|
|
|
|
for (let en of ens)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
en.ApplyMatrix(en.SpaceOCSInv);
|
|
|
|
en.ApplyMatrix(en.SpaceOCSInv);
|
|
|
@ -282,13 +292,6 @@ export class TemplateRecord extends SymbolTableRecord
|
|
|
|
|
|
|
|
|
|
|
|
if (this._Positioning)
|
|
|
|
if (this._Positioning)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
await this._Positioning.Positioning();
|
|
|
|
|
|
|
|
if (!this._Positioning.SpaceCS)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Log("模块定位错误!");
|
|
|
|
|
|
|
|
return;//出事故
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this._CacheSpaceCS = this._Positioning.SpaceCS;
|
|
|
|
this._CacheSpaceCS = this._Positioning.SpaceCS;
|
|
|
|
this._CacheSpaceSize = this._Positioning.SpaceSize;
|
|
|
|
this._CacheSpaceSize = this._Positioning.SpaceSize;
|
|
|
|
|
|
|
|
|
|
|
|