mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-24 22:58:08 +00:00
Remove special case for curve widgets
This will never be used now that interpolation information is included and should have been applied as a `serializeValue` function
This commit is contained in:
@@ -108,9 +108,7 @@ export const graphToPrompt = async (
|
||||
// The backend automatically unwraps the object to an array during
|
||||
// execution.
|
||||
inputs[widget.name] = Array.isArray(widgetValue)
|
||||
? widget.type === 'curve'
|
||||
? { __type__: 'CURVE', __value__: widgetValue }
|
||||
: { __value__: widgetValue }
|
||||
? { __value__: widgetValue }
|
||||
: widgetValue
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user