浏览代码

Make preview re-generate when changing master node options

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

2
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Inspector/Views/SurfaceMasterNodeEditorView.cs


options.renderQueue = (SurfaceMaterialOptions.RenderQueue)EditorGUILayout.EnumPopup("Render Queue", options.renderQueue);
options.renderType = (SurfaceMaterialOptions.RenderType)EditorGUILayout.EnumPopup("Render Type", options.renderType);
if (EditorGUI.EndChangeCheck())
presenter.node.onModified(presenter.node, ModificationScope.Node);
presenter.node.onModified(presenter.node, ModificationScope.Graph);
}
public override void OnDataChanged()

正在加载...
取消
保存