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: add defaultPrim to make usdchecker happy #26495

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

hybridherbst
Copy link
Contributor

Description

usdchecker is the official tool to verify USD/USDZ files from Pixar.
Current exported files don't pass it and don't log anything useful because it already fails on a missing defaultPrim, so this PR adds that. Currently the root name is hardcoded so it's always "Root".

Before:

herbst@ % usdchecker "scene.usdz" 
Stage has missing or invalid defaultPrim. (fails 'StageMetadataChecker')
Failed!

After:

herbst@ % usdchecker scene.usdz                                
Success!

This contribution is funded by Needle

@mrdoob mrdoob added this to the r155 milestone Jul 26, 2023
@mrdoob mrdoob merged commit 78acb52 into mrdoob:dev Jul 26, 2023
@hybridherbst hybridherbst deleted the fix-usdzexporter-defaultprim branch July 26, 2023 21:11
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.

2 participants