浏览代码

Merge pull request #237 from Unity-Technologies/disable-resizing-in-preview-node

[FIX] Disabled the resizing of preview node.
/main
GitHub 7 年前
当前提交
f39faa6c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs

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


SetPosition(new Rect(node.drawState.position.x, node.drawState.position.y, 0, 0));
if (node is PreviewNode)
/*if (node is PreviewNode)
}
}*/
m_PortInputContainer.SendToBack();
if (node.hasPreview)

正在加载...
取消
保存