浏览代码

Remove a few todos in code

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

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


namespace UnityEditor.MaterialGraph.Drawing
{
// TODO JOCE: Maybe this needs to derive from something we already have?
public class GraphEditorView : DataWatchContainer
{
GraphView m_GraphView;

3
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/TitleBarView.cs


namespace UnityEditor.MaterialGraph.Drawing
{
// TODO JOCE: we should not need a title bar drawer. It should just be a visual element in the nodedrawer.
public class TitleBarView : DataWatchContainer
{
TitleBarPresenter m_DataProvider;

UpdateContainer(m_RightContainer, m_DataProvider.rightItems);
}
void UpdateContainer(VisualContainer container, IEnumerable<TitleBarButtonPresenter> itemDatas)
static void UpdateContainer(VisualContainer container, IEnumerable<TitleBarButtonPresenter> itemDatas)
{
container.ClearChildren();
foreach (var itemPresenter in itemDatas)

正在加载...
取消
保存