浏览代码

Merge pull request #186 from Unity-Technologies/fix-nodes-are-still-filled-after-edge-deletion

[FIX] fixes #96 Needed to put the input and output of the edge to Null.
/main
GitHub 7 年前
当前提交
a3c9f868
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/GraphEditorView.cs

4
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/GraphEditorView.cs


}
edgeView.output.Disconnect(edgeView);
edgeView.input.Disconnect(edgeView);
edgeView.output = null;
edgeView.input = null;
m_GraphView.RemoveElement(edgeView);
}
}

正在加载...
取消
保存