FBXLoader: Added check before parsing UVs
@@ -1727,7 +1727,12 @@ THREE.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 ++;
}
@@ -1773,7 +1773,12 @@ var FBXLoader = ( function () {