From 0d720a878cde36baf5d8f75cc696f332a5313ba9 Mon Sep 17 00:00:00 2001 From: Alexander Goryushkin Date: Sun, 9 Jul 2023 16:32:46 -0400 Subject: [PATCH] add attribute to ignore raycaster on env-sky element --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 8339c10ee..473b5fc1f 100644 --- a/src/index.js +++ b/src/index.js @@ -403,6 +403,7 @@ AFRAME.registerComponent('street-environment', { this.sky = document.createElement('a-sky'); const sky = this.sky; sky.setAttribute('id', 'env-sky'); + sky.setAttribute('data-ignore-raycaster', ''); el.appendChild(sky); }, update: function (oldData) {