Skip to content

Commit

Permalink
USDZExporter: Added uv2 warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Feb 16, 2021
1 parent d92ea73 commit 4ad0d3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/jsm/exporters/USDZExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ function buildMesh( geometry, material ) {
const attributes = geometry.attributes;
const count = attributes.position.count;

if ( 'uv2' in attributes ) {

console.warn( 'THREE.USDZExporter: uv2 not supported yet.' );

}

return `def Mesh "${ name }"
{
int[] faceVertexCounts = [${ buildMeshVertexCount( geometry ) }]
Expand Down

0 comments on commit 4ad0d3c

Please sign in to comment.