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 298b1c9 commit 1691837Copy full SHA for 1691837
src/components/scene/reflection.js
@@ -51,7 +51,7 @@ module.exports.Component = register('reflection', {
51
});
52
53
this.el.addEventListener('exit-vr', function () {
54
- self.stopLightProbe();
+ if (self.xrLightProbe) { self.stopLightProbe(); }
55
56
57
this.el.object3D.environment = this.cubeRenderTarget.texture;
0 commit comments