Skip to content

Commit 3a6fdbd

Browse files
committed
Fix bug in extrude { along } command
1 parent 375c41a commit 3a6fdbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ShapeScript/StandardLibrary.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ extension Dictionary where Key == String, Value == Symbol {
9797
},
9898
// builders
9999
"extrude": .block(.custom(.builder, ["along": .paths])) { context in
100-
let along = context.value(for: "along")?.value as? [Path] ?? []
100+
let along = context.value(for: "along")?.tupleValue as? [Path] ?? []
101101
return .mesh(Geometry(type: .extrude(context.paths, along: along), in: context))
102102
},
103103
"lathe": .block(.builder) { context in

0 commit comments

Comments
 (0)