浏览代码

[FIX] Disabled the resizing of preview node.

/main
Martin Thorzen 7 年前
当前提交
5f331eda
共有 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)

正在加载...
取消
保存