Skip to content

Commit

Permalink
map MaterialH > level
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarr committed Jan 9, 2025
1 parent 4f21775 commit 0fb5a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/managed-street.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ AFRAME.registerComponent('managed-street', {
type: segmentType,
width: segmentWidth,
name: segment.title,
level: parseFloat(segment.MaterialH) || 0,
level: parseFloat(segment.MaterialH) === 0.5 ? 1 : 0,
direction: segmentDirection,
color: mappedColor || window.STREET.types[segmentType]?.color,
surface: mappedSurface,
Expand Down

0 comments on commit 0fb5a85

Please sign in to comment.