fix(runtime): correctly encode 2d shape for wasm nodes

This commit is contained in:
release-bot
2026-02-09 22:15:11 +01:00
parent c610d6c991
commit ed3d48e07f

View File

@@ -28,7 +28,7 @@ function getValue(input: NodeInput, value?: unknown) {
}
if (Array.isArray(value)) {
if (input.type === 'vec3') {
if (input.type === 'vec3' || input.type === 'shape') {
return [
0,
value.length + 1,