更新有定位的模块的LWH的表达式计算

pull/450/MERGE
ChenX 5 years ago
parent c804851cc5
commit 8f2efe90c8

@ -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;

Loading…
Cancel
Save