Skip to content

Commit

Permalink
Clarify comment
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Stone <stonej212@gmail.com>
  • Loading branch information
jstone-lucasfilm authored Apr 30, 2024
1 parent c8fb1ec commit 168c86d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/Scripts/creatematerial.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ def createMtlxDoc(textureFiles, mtlxFile, shadingModel, relativePaths = True, co
inputName = shaderInput.getName()
inputType = shaderInput.getType()

# Create textures
# Skip if the plug already created (in the case of UDIMs)
# Skip inputs that have already been created, e.g. in multi-UDIM materials.
if shaderNode.getInput(inputName) or nodeGraph.getChild(textureName):
continue

Expand Down

0 comments on commit 168c86d

Please sign in to comment.