Skip to content

Commit

Permalink
don't execute this.setEnvOption() twice on component initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Aug 31, 2024
1 parent ef2fbe1 commit 5eaa12c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/street-environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ AFRAME.registerComponent('street-environment', {
'data-layer-name',
'Directional Light • Shadow Caster'
);
this.setEnvOption();
},

update: function (oldData) {
Expand Down

0 comments on commit 5eaa12c

Please sign in to comment.