mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
🐛 add all connections
if file nodes are not connected using their "primary data" node, `listHistory` was ignoring them
This commit is contained in:
parent
25638e967a
commit
609beaa75a
1 changed files with 2 additions and 2 deletions
|
|
@ -403,13 +403,13 @@ class CollectLook(pyblish.api.InstancePlugin):
|
||||||
# history = cmds.listHistory(look_sets)
|
# history = cmds.listHistory(look_sets)
|
||||||
history = []
|
history = []
|
||||||
for material in materials:
|
for material in materials:
|
||||||
history.extend(cmds.listHistory(material))
|
history.extend(cmds.listHistory(material, ac=True))
|
||||||
|
|
||||||
# handle VrayPluginNodeMtl node - see #1397
|
# handle VrayPluginNodeMtl node - see #1397
|
||||||
vray_plugin_nodes = cmds.ls(
|
vray_plugin_nodes = cmds.ls(
|
||||||
history, type="VRayPluginNodeMtl", long=True)
|
history, type="VRayPluginNodeMtl", long=True)
|
||||||
for vray_node in vray_plugin_nodes:
|
for vray_node in vray_plugin_nodes:
|
||||||
history.extend(cmds.listHistory(vray_node))
|
history.extend(cmds.listHistory(vray_node, ac=True))
|
||||||
|
|
||||||
# handling render attribute sets
|
# handling render attribute sets
|
||||||
render_set_types = [
|
render_set_types = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue