console.warn('THREE.BufferGeometry: Missing required attributes (index, position, normal or uv) in BufferGeometry.computeTangents()');
console.error('THREE.BufferGeometryUtils: .computeTangents() failed. Missing required attributes (index, position, normal or uv)');
return;
}
...
...
@@ -211,6 +211,7 @@ var BufferGeometryUtils = {
// ensure that all geometries are indexed, or none
if(isIndexed!==(geometry.index!==null)){
console.error('THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index '+i+'. All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them.');
returnnull;
...
...
@@ -397,7 +398,6 @@ var BufferGeometryUtils = {
varattribute=attributes[i];
if(attribute.isInterleavedBufferAttribute){
console.error('THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. InterleavedBufferAttributes are not supported.');