|
@@ -168,7 +168,9 @@
|
|
this._renderingSize = new Size(0, 0);
|
|
this._renderingSize = new Size(0, 0);
|
|
this._designSize = settings.designSize || null;
|
|
this._designSize = settings.designSize || null;
|
|
this._designUseHorizAxis = settings.designUseHorizAxis === true;
|
|
this._designUseHorizAxis = settings.designUseHorizAxis === true;
|
|
- this._trackedGroups = new Array<Group2D>();
|
|
|
|
|
|
+ if (!this._trackedGroups) {
|
|
|
|
+ this._trackedGroups = new Array<Group2D>();
|
|
|
|
+ }
|
|
this._maxAdaptiveWorldSpaceCanvasSize = null;
|
|
this._maxAdaptiveWorldSpaceCanvasSize = null;
|
|
this._groupCacheMaps = new StringDictionary<MapTexture[]>();
|
|
this._groupCacheMaps = new StringDictionary<MapTexture[]>();
|
|
|
|
|
|
@@ -1577,6 +1579,9 @@
|
|
if (group._isFlagSet(SmartPropertyPrim.flagTrackedGroup)) {
|
|
if (group._isFlagSet(SmartPropertyPrim.flagTrackedGroup)) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ if (!this._trackedGroups) {
|
|
|
|
+ this._trackedGroups = new Array<Group2D>();
|
|
|
|
+ }
|
|
this._trackedGroups.push(group);
|
|
this._trackedGroups.push(group);
|
|
|
|
|
|
group._setFlags(SmartPropertyPrim.flagTrackedGroup);
|
|
group._setFlags(SmartPropertyPrim.flagTrackedGroup);
|