浏览代码

Merge pull request #1467 from Unity-Technologies/sg/fix-for-preview-being-infront-of-outliner

Outliner and preview fix
/main
GitHub 7 年前
当前提交
3a4763ba
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1
      com.unity.shadergraph/CHANGELOG.md
  2. 1
      com.unity.shadergraph/Editor/Drawing/Views/MaterialNodeView.cs

1
com.unity.shadergraph/CHANGELOG.md


- Your system locale can no longer cause incorrect commands due to full stops being converted to commas.
- Deserialization of subgraphs now works correctly.
- Sub graphs are now suffixed with (sub), so you can tell them apart from other nodes.
- The preview of a node does not obstruct the selection outliner anymore.

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


if (m_PreviewContainer.parent != this)
{
Add(m_PreviewContainer);
m_PreviewContainer.PlaceBehind(this.Q("selection-border"));
}
m_PreviewFiller.AddToClassList("expanded");
m_PreviewFiller.RemoveFromClassList("collapsed");

正在加载...
取消
保存