Enable optional arguments in point-and-click Loft (#7587)
* Enable optional arguments in point-and-click Sweep Fixes #7578 * Fix bug and add e2e test step * Fix review not triggering bug and e2e test * WIP: Enable optional arguments in point-and-click Loft * Add edit flow for loft * WIP: e2e test and fix * Got it * Got it v2 🤦
This commit is contained in:
@ -2516,9 +2516,8 @@ export const modelingMachine = setup({
|
||||
return Promise.reject(new Error(NO_INPUT_PROVIDED_MESSAGE))
|
||||
}
|
||||
|
||||
const { sketches } = input
|
||||
const { ast } = kclManager
|
||||
const astResult = addLoft({ ast, sketches })
|
||||
const astResult = addLoft({ ast, ...input })
|
||||
if (err(astResult)) {
|
||||
return Promise.reject(astResult)
|
||||
}
|
||||
|
Reference in New Issue
Block a user