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

Merge pull request #6262 from bhouston/bumpScaleBug

Fix bug in ObjectLoader.  material.bumpScale is a float not a Vector2.
......@@ -248,7 +248,7 @@ THREE.ObjectLoader.prototype = {
material.bumpMap = getTexture( data.bumpMap );
if ( data.bumpScale ) {
material.bumpScale = new THREE.Vector2( data.bumpScale, data.bumpScale );
material.bumpScale = data.bumpScale;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册