Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Oct 20, 2020

Related issues:

Fixed #20521.

Description

The idea is to check for color, emissive and specular before calling setHex(). These three are the only material properties in parse() which potentially produce a runtime error mentioned in #20521.

@mrdoob mrdoob added this to the r122 milestone Oct 20, 2020
@mrdoob mrdoob merged commit 6026dea into mrdoob:dev Oct 20, 2020
@mrdoob
Copy link
Owner

mrdoob commented Oct 20, 2020

Thanks!

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.

MaterialLoader: Error when loading MeshToonMaterial.

2 participants