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

Editor: Fixed unhandled material array when exporting JSON #28431

Merged
merged 1 commit into from
May 20, 2024

Conversation

ycw
Copy link
Contributor

@ycw ycw commented May 19, 2024

This PR fixed an issue about EXPORT JSON in MATERIAL tab, which doesn't honor material array, it will throw if doing so:

image

To reproduce:

  1. Drops https://github.com/mrdoob/three.js/tree/dev/examples/models/collada/elf in editor
  2. Opens console
  3. Navigates to MATERIAL tab, presses EXPORT JSON.

@mrdoob mrdoob added this to the r165 milestone May 20, 2024
@mrdoob mrdoob merged commit 312b7ee into mrdoob:dev May 20, 2024
10 of 11 checks passed
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