1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 09:16:01 +08:00

Fix stack overflow when using obsolete method Node.AddInstanceInput (#231)

This commit is contained in:
José Rey Méndez 2020-02-02 14:36:21 -03:00 committed by GitHub
parent 7e93ffe4b7
commit cf8c70203b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ namespace XNode {
[Obsolete("Use AddDynamicInput instead")] [Obsolete("Use AddDynamicInput instead")]
public NodePort AddInstanceInput(Type type, Node.ConnectionType connectionType = Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint = TypeConstraint.None, string fieldName = null) { 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")] [Obsolete("Use AddDynamicOutput instead")]