Compare commits

...

1 Commits

Author SHA1 Message Date
1513a929ee pierremtb/adhoc/loft-validation-for-2-sketches 2025-05-19 11:23:26 -04:00

View File

@ -450,6 +450,13 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
selectionTypes: ['solid2d'],
multiple: true,
required: true,
validation: async ({ data }) => {
if (data.sketches.graphSelections.length < 2) {
return 'Loft requires at least 2 sketches.'
}
return true
},
},
},
},