Skip to content

Commit

Permalink
add attribute to ignore raycaster on env-sky element
Browse files Browse the repository at this point in the history
  • Loading branch information
Algorush committed Jul 9, 2023
1 parent 4a63885 commit a22fd96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a22fd96

Please sign in to comment.