update forge
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 27s
Create tag and build when new code gets to main / Export (push) Successful in 7m25s

This commit is contained in:
2026-05-17 00:06:44 +02:00
parent 8b54f00814
commit e09714cf83
473 changed files with 13577 additions and 767 deletions

View File

@@ -68,7 +68,7 @@ public partial class ActivationDataResolverResource : StatescriptResolverResourc
// Define the variable so the data binder's SetVar call succeeds at runtime.
// Check if the variable is already defined to avoid duplicates when multiple nodes bind the same field.
var alreadyDefined = false;
bool alreadyDefined = false;
foreach (VariableDefinition existing in graph.VariableDefinitions.VariableDefinitions)
{
if (existing.Name == variableName)
@@ -84,6 +84,17 @@ public partial class ActivationDataResolverResource : StatescriptResolverResourc
new VariableDefinition(variableName, default, clrType));
}
if (NeedsNumericInputAdaptation(runtimeNode, index, clrType))
{
DefineAndBindInputProperty(
graph,
runtimeNode,
$"__activation_{nodeId}_{index}",
index,
new VariableResolver(variableName, clrType));
return;
}
runtimeNode.BindInput(index, variableName);
}