浏览代码

Remove unneeded GV capability code

/main
Peter Bay Bastian 7 年前
当前提交
066bcccb
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs

1
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs


continue;
var port = InstantiatePort(Orientation.Horizontal, slot.isInputSlot ? Direction.Input : Direction.Output, null);
port.capabilities &= ~Capabilities.Movable;
port.portName = slot.displayName;
port.userData = slot;
port.visualClass = slot.concreteValueType.ToClassName();

正在加载...
取消
保存