fix: fix a bug when links changed in a graph,the corresponding runtime graph don't alter its links

main
taoria 3 years ago
parent 049f9c1e84
commit ebcde5e5d9
  1. 3
      TNode/TNodeCore/Runtime/Components/RuntimeGraph.cs
  2. 2
      TNode/TNodeCore/Runtime/RuntimeNode.cs

@ -19,11 +19,12 @@ namespace TNodeCore.Components{
/// <summary>
/// Map of node id to runtime node
/// </summary>
[NonSerialized]
public readonly Dictionary<string, RuntimeNode> RuntimeNodes = new Dictionary<string, RuntimeNode>();
///<summary>
/// The graph tool the current runtime graph is using
/// </summary>
[NonSerialized]
private GraphTool _graphTool;
/// <summary>
/// Inner graph tool to help with graph operations

@ -48,8 +48,6 @@ namespace TNodeCore.Runtime{
_portAccessors = RuntimeCache.RuntimeCache.Instance.CachedPropertyAccessors[_type];
}
public List<string> GetInputNodesId(){

Loading…
Cancel
Save