Skip to content

Commit 6f99ac8

Browse files
author
Don McCurdy
committed
GLTFLoader: Warn on unsupported texCoord override.
1 parent a7f8be4 commit 6f99ac8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/js/loaders/GLTFLoader.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,12 @@ THREE.GLTFLoader = ( function () {
575575

576576
}
577577

578+
if ( transform.texCoord !== undefined ) {
579+
580+
console.warn( 'THREE.GLTFLoader: Custom UV sets in "' + this.name + '" extension not yet supported.' );
581+
582+
}
583+
578584
texture.needsUpdate = true;
579585

580586
return texture;

0 commit comments

Comments
 (0)