提交 a8200b85 编写于 作者: L Lewy Blue

formatting

上级 23365163
......@@ -98,7 +98,7 @@
}
console.log( FBXTree );
// console.log( FBXTree );
var connections = parseConnections( FBXTree );
var images = parseImages( FBXTree );
......@@ -644,6 +644,10 @@
return parseNurbsGeometry( geometryNode );
break;
default:
console.error( 'FBXLoader: Unsupported geometry type %s', geometryNode.attrType );
return THREE.BufferGeometry();
}
}
......@@ -795,7 +799,6 @@
for ( var j = 0, jl = array.length; j < jl; j ++ ) {
weights.push( array[ j ].weight );
weightIndices.push( array[ j ].id );
}
......@@ -872,7 +875,11 @@
var data = getData( polygonVertexIndex, polygonIndex, vertexIndex, uvInfo[ i ] );
if ( faceUVs[ i ] === undefined ) faceUVs[ i ] = [];
if ( faceUVs[ i ] === undefined ) {
faceUVs[ i ] = [];
}
faceUVs[ i ].push(
data[ 0 ],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册