Skip to content

Commit

Permalink
Merge pull request #2504 from mrxz/alpha-mode-warning
Browse files Browse the repository at this point in the history
Don't log warning when `alphaMode` property is not set on glTFMaterial
  • Loading branch information
ousttrue authored Nov 19, 2024
2 parents 24b8176 + 0a3cff4 commit bab1085
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ private static MToon10AlphaMode GetMToon10AlphaMode(glTFMaterial material)
{
switch (material?.alphaMode)
{
case null:
case "OPAQUE":
return MToon10AlphaMode.Opaque;
case "MASK":
Expand Down

0 comments on commit bab1085

Please sign in to comment.