Skip to content

Commit e00b916

Browse files
committed
fix(x3d-deserializer): updated to use slice.fromOutlines()
1 parent cca0ffc commit e00b916

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/io/x3d-deserializer/src/extrudeX3D.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export const extrudeX3D = (x3dshape) => {
148148

149149
// Create the initial slice
150150
const initialShape = geom2.create([crossSection])
151-
const initialSlice = slice.fromGeom2(initialShape)
151+
const initialSlice = slice.fromOutlines(geom2.toOutlines(initialShape))
152152

153153
// Calculate SCP values
154154
let yaxes = calculateYaxes(spine)

0 commit comments

Comments
 (0)