From 7bd523ea4ef702973754f945e1eade43e2901952 Mon Sep 17 00:00:00 2001 From: Robert Dorn Date: Thu, 21 Nov 2024 11:24:06 +0100 Subject: [PATCH] fixed variable set and get, was not using "value" as input/output id --- src/authoring/AuthoringGraphNode.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authoring/AuthoringGraphNode.tsx b/src/authoring/AuthoringGraphNode.tsx index f5ec81d..209dc7c 100644 --- a/src/authoring/AuthoringGraphNode.tsx +++ b/src/authoring/AuthoringGraphNode.tsx @@ -153,7 +153,7 @@ export const AuthoringGraphNode = (props: IAuthoringGraphNodeProps) => { if (props.data.configuration.variable !== undefined) { const variableId: number = JSON.parse(props.data.configuration.variable); const v: IVariable = props.data.variables[variableId]; - const value: IValueSocketDescriptor = {id: v.id, types: [props.data.types[v.type].signature], value: v.value, description: 'Value Socket for this variable'} + const value: IValueSocketDescriptor = {id: "value", types: [props.data.types[v.type].signature], value: v.value, description: 'Value Socket for this variable'} if (props.node.type === "variable/set") { inputValuesToSet.push(value);