Skip to content

Commit

Permalink
fix typo in shadow property setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Algorush committed Dec 5, 2023
1 parent eb2b5c2 commit 5df8540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aframe-streetmix-parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function createRailsElement (length, railsPosX) {
placedObjectEl.setAttribute('geometry', railsGeometry);
placedObjectEl.setAttribute('material', railsMaterial);
placedObjectEl.setAttribute('class', 'rails');
placedObjectEl.setAttribute('shadow', 'recieve:true; cast: true');
placedObjectEl.setAttribute('shadow', 'receive:true; cast: true');
placedObjectEl.setAttribute('position', railsPosX + ' 0.2 0'); // position="1.043 0.100 -3.463"

return placedObjectEl;
Expand Down

0 comments on commit 5df8540

Please sign in to comment.