Ver código fonte

GLTFLoader: Warn on unsupported texCoord override.

Don McCurdy 7 anos atrás
pai
commit
73160feba1
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      examples/js/loaders/GLTFLoader.js

+ 6 - 0
examples/js/loaders/GLTFLoader.js

@@ -605,6 +605,12 @@ THREE.GLTFLoader = ( function () {
 
 		}
 
+		if ( transform.texCoord !== undefined ) {
+
+			console.warn( 'THREE.GLTFLoader: Custom UV sets in "' + this.name + '" extension not yet supported.' );
+
+		}
+
 		texture.needsUpdate = true;
 
 		return texture;