mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
resolve hound
This commit is contained in:
parent
79aab2534e
commit
9ea11e7f2d
2 changed files with 5 additions and 4 deletions
|
|
@ -667,7 +667,7 @@ def get_obj_node_output(obj_node):
|
|||
|
||||
else:
|
||||
return min(outputs,
|
||||
key=lambda node: node.evalParm('outputidx'))
|
||||
key=lambda node: node.evalParm('outputidx'))
|
||||
|
||||
|
||||
def get_output_children(output_node, include_sops=True):
|
||||
|
|
@ -682,8 +682,9 @@ def get_output_children(output_node, include_sops=True):
|
|||
for child in output_node.children():
|
||||
out_list += get_output_children(child, include_sops=include_sops)
|
||||
|
||||
elif include_sops and output_node.childTypeCategory() == hou.sopNodeTypeCategory():
|
||||
out = get_obj_node_output(output_node)
|
||||
elif include_sops and \
|
||||
output_node.childTypeCategory() == hou.sopNodeTypeCategory():
|
||||
out = get_obj_node_output(output_node)
|
||||
if out:
|
||||
out_list += [out]
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import hou
|
|||
|
||||
|
||||
class ValidateMeshIsStatic(pyblish.api.InstancePlugin,
|
||||
OptionalPyblishPluginMixin):
|
||||
OptionalPyblishPluginMixin):
|
||||
"""Validate mesh is static.
|
||||
|
||||
It checks if output node is time dependant.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue