mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
hound
This commit is contained in:
parent
b502019d2b
commit
caf8a2a2df
1 changed files with 3 additions and 2 deletions
|
|
@ -128,12 +128,13 @@ class CollectYetiRig(pyblish.api.InstancePlugin):
|
|||
image_search_paths = self._replace_tokens(image_search_paths)
|
||||
|
||||
# List all related textures
|
||||
texture_nodes = cmds.pgYetiGraph(node, listNodes=True, type="texture")
|
||||
texture_nodes = cmds.pgYetiGraph(
|
||||
node, listNodes=True, type="texture")
|
||||
texture_filenames = [cmds.pgYetiGraph(node,
|
||||
node=texture_node,
|
||||
param="file_name",
|
||||
getParamValue=True)
|
||||
for texture_node in texture_nodes]
|
||||
for texture_node in texture_nodes]
|
||||
self.log.debug("Found %i texture(s)" % len(texture_filenames))
|
||||
|
||||
# Get all reference nodes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue