浏览代码

Move line that initalized the configured textures into the catch block, so that it doesn't do it all the time

/main
Peter Bay Bastian 6 年前
当前提交
07a3cce6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.shadergraph/Editor/Importers/ShaderGraphImporter.cs

2
com.unity.shadergraph/Editor/Importers/ShaderGraphImporter.cs


}
catch (Exception)
{
configuredTextures = new List<PropertyCollector.TextureInfo>();
configuredTextures = new List<PropertyCollector.TextureInfo>();
return shaderString ?? k_ErrorShader.Replace("Hidden/GraphErrorShader2", shaderName);
}
}

正在加载...
取消
保存