|
@@ -44168,7 +44168,7 @@ var BABYLON;
|
|
}
|
|
}
|
|
if (!rd._cacheNode) {
|
|
if (!rd._cacheNode) {
|
|
// Check if we have to allocate a rendering zone in the global cache texture
|
|
// Check if we have to allocate a rendering zone in the global cache texture
|
|
- var res = this.owner._allocateGroupCache(this, this.parent.renderGroup, curWidth ? new BABYLON.Size(curWidth, curHeight) : null, rd._useMipMap, rd._anisotropicLevel);
|
|
|
|
|
|
+ var res = this.owner._allocateGroupCache(this, this.parent && this.parent.renderGroup, curWidth ? new BABYLON.Size(curWidth, curHeight) : null, rd._useMipMap, rd._anisotropicLevel);
|
|
rd._cacheNode = res.node;
|
|
rd._cacheNode = res.node;
|
|
rd._cacheTexture = res.texture;
|
|
rd._cacheTexture = res.texture;
|
|
rd._cacheRenderSprite = res.sprite;
|
|
rd._cacheRenderSprite = res.sprite;
|