浏览代码

Fix preview dirty'ing

/main
Tim Cooper 7 年前
当前提交
67c85cbe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs

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


m_PreviewTextureView.RemoveFromClassList("hidden");
m_PreviewTextureView.image = m_PreviewData.texture;
}
Dirty(ChangeType.Repaint);
m_PreviewTextureView.Dirty(ChangeType.Repaint);
}
void UpdateControls()

正在加载...
取消
保存