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

WebGLRenderer: Removed unused light parameter from initMaterial.

上级 5753f592
......@@ -1388,7 +1388,7 @@ THREE.WebGLRenderer = function ( parameters ) {
}
function initMaterial( material, lights, fog, object ) {
function initMaterial( material, fog, object ) {
var materialProperties = properties.get( material );
......@@ -1592,7 +1592,7 @@ THREE.WebGLRenderer = function ( parameters ) {
if ( material.needsUpdate ) {
initMaterial( material, lights, fog, object );
initMaterial( material, fog, object );
material.needsUpdate = false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册