|
@@ -29,7 +29,7 @@ var BufferGeometryUtils = {
|
|
attributes.normal === undefined ||
|
|
attributes.normal === undefined ||
|
|
attributes.uv === undefined ) {
|
|
attributes.uv === undefined ) {
|
|
|
|
|
|
- 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;
|
|
return;
|
|
|
|
|
|
}
|
|
}
|
|
@@ -211,6 +211,7 @@ var BufferGeometryUtils = {
|
|
// ensure that all geometries are indexed, or none
|
|
// ensure that all geometries are indexed, or none
|
|
|
|
|
|
if ( isIndexed !== ( geometry.index !== null ) ) {
|
|
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.' );
|
|
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.' );
|
|
return null;
|
|
return null;
|
|
|
|
|
|
@@ -397,7 +398,6 @@ var BufferGeometryUtils = {
|
|
|
|
|
|
var attribute = attributes[ i ];
|
|
var attribute = attributes[ i ];
|
|
|
|
|
|
-
|
|
|
|
if ( attribute.isInterleavedBufferAttribute ) {
|
|
if ( attribute.isInterleavedBufferAttribute ) {
|
|
|
|
|
|
console.error( 'THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. InterleavedBufferAttributes are not supported.' );
|
|
console.error( 'THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. InterleavedBufferAttributes are not supported.' );
|