修改了复制粘贴节点后无法显示参数连接关系的问题

This commit is contained in:
fengjiayi
2024-12-18 22:53:14 +08:00
parent 0471452ed9
commit 114e81424b
4 changed files with 70 additions and 10 deletions

View File

@@ -38,7 +38,12 @@ namespace Serein.Workbench.Node
/// <returns></returns>
JunctionControlBase GetJunctionOfArgData(int index)
{
return ArgDataJunction[index];
var arr = ArgDataJunction;
if (index >= arr.Length)
{
return null;
}
return arr[index];
}
}
}