|
|
|
@ -264,13 +264,19 @@ export class TemplateRecord extends SymbolTableRecord
|
|
|
|
|
this._CacheSpaceSize = this.positioning.SpaceSize;
|
|
|
|
|
|
|
|
|
|
this._CacheSpaceCS = this.RotateSpaceCS(this._CacheParamVars, paramMap, evaled, this._CacheSpaceCS, this._CacheSpaceSize);
|
|
|
|
|
|
|
|
|
|
this._CacheParamVars["L"] = this._CacheSpaceSize.x;
|
|
|
|
|
this._CacheParamVars["W"] = this._CacheSpaceSize.y;
|
|
|
|
|
this._CacheParamVars["H"] = this._CacheSpaceSize.z;
|
|
|
|
|
|
|
|
|
|
this._CacheSpaceSize.x = this.LParam.EvalUpdate(this._CacheParamVars, paramMap, evaled, false);
|
|
|
|
|
this._CacheSpaceSize.y = this.WParam.EvalUpdate(this._CacheParamVars, paramMap, evaled, false);
|
|
|
|
|
this._CacheSpaceSize.z = this.HParam.EvalUpdate(this._CacheParamVars, paramMap, evaled, false);
|
|
|
|
|
|
|
|
|
|
//更新LWH(通过定位空间)
|
|
|
|
|
this.LParam.UpdateParam(this._CacheSpaceSize.x);
|
|
|
|
|
this.LParam.expr = "";
|
|
|
|
|
this.WParam.UpdateParam(this._CacheSpaceSize.y);
|
|
|
|
|
this.WParam.expr = "";
|
|
|
|
|
this.HParam.UpdateParam(this._CacheSpaceSize.z);
|
|
|
|
|
this.HParam.expr = "";
|
|
|
|
|
|
|
|
|
|
if (this.positioning instanceof PositioningTemporary)
|
|
|
|
|
this.positioning = undefined;
|
|
|
|
|