Browse Source

#18986: run node utils/modularize.js

John Marinelli 5 years ago
parent
commit
db88e3ae42
1 changed files with 6 additions and 1 deletions
  1. 6 1
      examples/jsm/loaders/FBXLoader.js

+ 6 - 1
examples/jsm/loaders/FBXLoader.js

@@ -1772,7 +1772,12 @@ var FBXLoader = ( function () {
 				var i = 0;
 				while ( geoNode.LayerElementUV[ i ] ) {
 
-					geoInfo.uv.push( this.parseUVs( geoNode.LayerElementUV[ i ] ) );
+					if ( geoNode.LayerElementUV[ i ].UV ) {
+
+						geoInfo.uv.push( this.parseUVs( geoNode.LayerElementUV[ i ] ) );
+
+					}
+
 					i ++;
 
 				}