Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USDZExporter: Log warning when material.side === THREE.DoubleSide #24214

Merged
merged 1 commit into from
Jun 9, 2022
Merged

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Jun 9, 2022

Related issue: google/model-viewer#3516

@mrdoob mrdoob added this to the r142 milestone Jun 9, 2022
@mrdoob mrdoob merged commit 478d282 into dev Jun 9, 2022
@mrdoob mrdoob deleted the usdz branch June 9, 2022 05:49
@elalish
Copy link
Contributor

elalish commented Jul 18, 2022

I just tried to upgrade to r142 and I'm getting a runtime error:

ReferenceError: THREE is not defined
              at buildMaterial (node_modules/three/examples/jsm/exporters/USDZExporter.js:411:25)

I think you added THREE.DoubleSide without adding an import for it?

@Mugen87
Copy link
Collaborator

Mugen87 commented Jul 19, 2022

Fixed via #24366.

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
snagy pushed a commit to snagy/three.js-1 that referenced this pull request Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants