浏览代码

Fix updating of node positions until we get rid of presenters

/main
Peter Bay Bastian 7 年前
当前提交
513db118
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs

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


}
}
public override void SetPosition(Rect newPos)
{
var nodePresenter = GetPresenter<MaterialNodePresenter>();
if (nodePresenter != null)
nodePresenter.position = newPos;
base.SetPosition(newPos);
}
public override void OnDataChanged()
{
base.OnDataChanged();

正在加载...
取消
保存