浏览代码

fix a bug in asset modifier that would try to modify null materials

/main
Filip Iliescu 8 年前
当前提交
54642368
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
      Assets/ScriptableRenderPipeline/MobileRenderPipeline/ClassicDeferred/ClassicDeferredPipeline.cs

4
Assets/ScriptableRenderPipeline/MobileRenderPipeline/ClassicDeferred/ClassicDeferredPipeline.cs


foreach (Renderer _renderer in _renderers) {
Material[] _materials = _renderer.sharedMaterials;
foreach (Material _material in _materials) {
if (_material == null)
continue;
}
}
}

正在加载...
取消
保存