From 99fb9b1cff3752ee4d94d85eb974056973181216 Mon Sep 17 00:00:00 2001 From: Jose Luis Rey Mendez Date: Sun, 2 Feb 2020 13:40:02 -0300 Subject: [PATCH] Fix stack overflow when using obsolete method Node.AddInstanceInput --- Scripts/Node.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/Node.cs b/Scripts/Node.cs index 4103d67..beb5f77 100644 --- a/Scripts/Node.cs +++ b/Scripts/Node.cs @@ -65,7 +65,7 @@ namespace XNode { [Obsolete("Use AddDynamicInput instead")] public NodePort AddInstanceInput(Type type, Node.ConnectionType connectionType = Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint = TypeConstraint.None, string fieldName = null) { - return AddInstanceInput(type, connectionType, typeConstraint, fieldName); + return AddDynamicInput(type, connectionType, typeConstraint, fieldName); } [Obsolete("Use AddDynamicOutput instead")]