More fixes

This commit is contained in:
Pierre Jacquier
2025-06-17 15:19:53 -04:00
parent 92bd8a9f61
commit 2042339c99
5 changed files with 16 additions and 24 deletions

View File

@ -275,6 +275,10 @@ export const modelingMachineCommandConfig: StateMachineCommandSetConfig<
['gltf', 'stl', 'ply'].includes(
commandContext.argumentsToSubmit.type as string
),
hidden: (commandContext) =>
!['gltf', 'stl', 'ply'].includes(
commandContext.argumentsToSubmit.type as string
),
options: (commandContext) => {
const type = commandContext.argumentsToSubmit.type as
| OutputTypeKey