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

OBJLoader: Avoid renderer crash when rendering LineBasicMaterial with lights property set to true.

上级 681e9ac3
......@@ -656,6 +656,7 @@ THREE.OBJLoader = ( function () {
var materialLine = new THREE.LineBasicMaterial();
materialLine.copy( material );
materialLine.lights = false; // TOFIX
material = materialLine;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册