浏览代码

GLTFLoader: Warn on unsupported texCoord override.

Don McCurdy 7 年之前
父节点
当前提交
73160feba1
共有 1 个文件被更改,包括 6 次插入0 次删除
  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;