Skip to content

Commit

Permalink
Fix typo on import so that sheen color texture is picked up properly. (
Browse files Browse the repository at this point in the history
  • Loading branch information
kwokcb committed Dec 4, 2023
1 parent 9b78944 commit 100fb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/materialxgltf/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ def glTF2MaterialX(self, doc, gltfDoc) -> bool:
sheenColorFactor = sheenColorTexture = None
if 'sheenColorFactor' in sheen:
sheenColorFactor = sheen['sheenColorFactor']
if 'specularTexture' in sheen:
if 'sheenColorTexture' in sheen:
sheenColorTexture = sheen['sheenColorTexture']
if sheenColorFactor or sheenColorTexture:
self.readColorInput(doc, sheenColorTexture, sheenColorFactor, 'image_sheen',
Expand Down

0 comments on commit 100fb4e

Please sign in to comment.