From cf8c70203b0624c7ef402bc71d5f6a392894b3cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rey=20M=C3=A9ndez?= Date: Sun, 2 Feb 2020 14:36:21 -0300 Subject: [PATCH] Fix stack overflow when using obsolete method Node.AddInstanceInput (#231) --- 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")]