Skip to content

Commit 064df7c

Browse files
committed
JSM: Update modules.
1 parent 2162fc3 commit 064df7c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/jsm/loaders/VRMLLoader.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,11 +1086,7 @@ var VRMLLoader = ( function () {
10861086
var textureNode = fieldValues[ 0 ];
10871087
if ( textureNode !== null ) {
10881088

1089-
if ( textureNode.name === 'ImageTexture' ) {
1090-
1091-
material.map = getNode( textureNode );
1092-
1093-
} else if ( textureNode.name === 'PixelTexture' ) {
1089+
if ( textureNode.name === 'ImageTexture' || textureNode.name === 'PixelTexture' ) {
10941090

10951091
material.map = getNode( textureNode );
10961092

0 commit comments

Comments
 (0)