Skip to content

Commit

Permalink
fixed variable set and get, was not using "value" as input/output id
Browse files Browse the repository at this point in the history
  • Loading branch information
pfcDorn committed Nov 21, 2024
1 parent 166e011 commit 7bd523e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authoring/AuthoringGraphNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7bd523e

Please sign in to comment.