提交 b3444502 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11983 from dhritzkiv/patch-19

Remove `flatShading` check from before r87
......@@ -1815,16 +1815,7 @@ THREE.GLTFLoader = ( function () {
if ( geometry.attributes.normal === undefined ) {
if ( material.flatShading !== undefined ) {
material.flatShading = true;
} else {
// TODO: Remove this backwards-compatibility fix after r87 release.
material.shading = THREE.FlatShading;
}
material.flatShading = true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册