We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 048195e commit ac377cfCopy full SHA for ac377cf
examples/jsm/exporters/USDZExporter.js
@@ -46,7 +46,7 @@ function buildHeader() {
46
47
function buildXform( object, define ) {
48
49
- const name = object.name || 'Xform1';
+ const name = 'Object' + object.id;
50
const transform = buildMatrix( object.matrixWorld );
51
52
return `def Xform "${ name }"
@@ -79,7 +79,7 @@ function buildMatrixRow( array, offset ) {
79
80
function buildMesh( geometry, material ) {
81
82
- const name = geometry.name || 'Mesh1';
+ const name = 'Geometry' + geometry.id;
83
const attributes = geometry.attributes;
84
const count = attributes.position.count;
85
0 commit comments