Skip to content

Commit 2bc163e

Browse files
committed
fix(modeling): corrected extrudeLinear to proprogate options correctly
1 parent 34b28cf commit 2bc163e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/modeling/src/operations/extrusions/extrudeLinear.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const extrudeLinear = (options, ...objects) => {
2828
}
2929
const { height, twistAngle, twistSteps, repair } = Object.assign({ }, defaults, options)
3030

31-
options = { offset: [0, 0, height], twistAngle, twistSteps, repair }
31+
options = { height, twistAngle, twistSteps, repair, offset: [0, 0, height] }
3232

3333
const results = objects.map((object) => {
3434
if (path2.isA(object)) return extrudeLinearPath2(options, object)

0 commit comments

Comments
 (0)