Explorar o código

#18986: run node utils/modularize.js

John Marinelli %!s(int64=5) %!d(string=hai) anos
pai
achega
db88e3ae42
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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 ++;
 
 				}