提交 064df7c2 编写于 作者: M Mugen87

JSM: Update modules.

上级 2162fc3e
......@@ -1086,11 +1086,7 @@ var VRMLLoader = ( function () {
var textureNode = fieldValues[ 0 ];
if ( textureNode !== null ) {
if ( textureNode.name === 'ImageTexture' ) {
material.map = getNode( textureNode );
} else if ( textureNode.name === 'PixelTexture' ) {
if ( textureNode.name === 'ImageTexture' || textureNode.name === 'PixelTexture' ) {
material.map = getNode( textureNode );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册