Skip to content

Commit

Permalink
fix planter-box ground
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarr committed Nov 7, 2023
1 parent cd3cf80 commit 892c8db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aframe-streetmix-parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,10 @@ function processSegments (segments, showStriping, length, globalAnimated, showVe
groundMixinId = 'grass';
segmentParentEl.append(createDividerVariant('planting-strip', clonedObjectRadius, 2.25));
} else if (segments[i].type === 'divider' && variantList[0] === 'planter-box') {
groundMixinId = 'grass';
groundMixinId = 'divider';
segmentParentEl.append(createDividerVariant('planter-box', clonedObjectRadius, 2.45));
repeatCount[0] = 1;
repeatCount[1] = parseInt(length);
} else if (segments[i].type === 'divider' && variantList[0] === 'palm-tree') {
groundMixinId = 'grass';
const treesParentEl = createTreesParentElement();
Expand Down

0 comments on commit 892c8db

Please sign in to comment.