浏览代码

Updated with the feedback from PR

/main
Martin Thorzen 7 年前
当前提交
a323085a
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 2
      com.unity.shadergraph/Editor/Drawing/Views/MaterialNodeView.cs
  2. 2
      com.unity.shadergraph/Editor/Drawing/Views/PortInputView.cs

2
com.unity.shadergraph/Editor/Drawing/Views/MaterialNodeView.cs


else
{
port.slot = newSlot;
var portInputView = m_PortInputContainer.OfType<PortInputView>().FirstOrDefault(x => Equals(x.slot.id, currentSlot.id));
var portInputView = m_PortInputContainer.OfType<PortInputView>().FirstOrDefault(x => x.slot.id == currentSlot.id);
portInputView.UpdateSlot(newSlot);
slots.Remove(newSlot);

2
com.unity.shadergraph/Editor/Drawing/Views/PortInputView.cs


public void UpdateSlotType()
{
if (slot.concreteValueType != m_SlotType)
{
}
}
void Recreate()

正在加载...
取消
保存