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

Material.toJSON(): don't export attenuationDistance when it's set to the default value of Infinity #24798

Merged
merged 1 commit into from
Oct 15, 2022

Conversation

davcri
Copy link
Contributor

@davcri davcri commented Oct 14, 2022

Fixed #24797

@davcri davcri changed the title Material: don't export attenuationDistance when it's set to the default value of Infinity Material.toJSON(): don't export attenuationDistance when it's set to the default value of Infinity Oct 14, 2022
@Mugen87 Mugen87 added this to the r146 milestone Oct 14, 2022
@Mugen87 Mugen87 merged commit aaa1968 into mrdoob:dev Oct 15, 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.

MeshPhysicalMaterial attenuationDistance is null when exporting to JSON
2 participants