We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ba898 commit fed4845Copy full SHA for fed4845
src/components/layer.js
@@ -212,6 +212,7 @@ module.exports.Component = registerComponent('layer', {
212
213
tick: function () {
214
if (!this.el.sceneEl.xrSession) { return; }
215
+ if (!this.referenceSpace) { return; }
216
if (!this.layer && (this.el.sceneEl.is('vr-mode') || this.el.sceneEl.is('ar-mode'))) { this.initLayer(); }
217
this.updateTransform();
218
if (this.data.src.complete && (this.pendingCubeMapUpdate || this.loadingScreen || this.visibilityChanged)) { this.loadCubeMapImages(); }
0 commit comments