Skip to content

Commit 47d6a2e

Browse files
committed
fix(utils): 🐛 correction of assignment error issue
1 parent ec2235a commit 47d6a2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/utils/cesium-helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ export function makeMaterialProperty(val: VcMaterialProperty, isConstant = false
488488
return new PolylineDashMaterialProperty({
489489
color: makeColor(defaultValue(value.fabric.uniforms.color, 'white')),
490490
gapColor: makeColor(defaultValue(value.fabric.uniforms.gapColor, Color.TRANSPARENT)),
491-
dashLength: defaultValue(value.fabric.uniforms.taperPower, 16.0),
492-
dashPattern: defaultValue(value.fabric.uniforms.taperPower, 255.0)
491+
dashLength: defaultValue(value.fabric.uniforms.dashLength, 16.0),
492+
dashPattern: defaultValue(value.fabric.uniforms.dashPattern, 255.0)
493493
})
494494
case 'PolylineGlow':
495495
return new PolylineGlowMaterialProperty({

0 commit comments

Comments
 (0)