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 4edb768 commit c399a18Copy full SHA for c399a18
examples/jsm/exporters/USDZExporter.js
@@ -119,7 +119,7 @@ class USDZExporter {
119
120
}
121
122
- output += buildXform( object, geometry, material );
+ output += buildXform( object, geometry, materials[ material.uuid ] );
123
124
} else {
125
@@ -796,7 +796,7 @@ function buildCamera( camera ) {
796
float verticalAperture = ${ ( ( Math.abs( camera.top ) + Math.abs( camera.bottom ) ) * 10 ).toPrecision( PRECISION ) }
797
token projection = "orthographic"
798
799
-
+
800
`;
801
802
@@ -813,7 +813,7 @@ function buildCamera( camera ) {
813
token projection = "perspective"
814
float verticalAperture = ${ camera.getFilmHeight().toPrecision( PRECISION ) }
815
816
817
818
819
0 commit comments