mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #370 from ynput/bugfix/maya_fix_templated_workfile_builder
Maya: Account for no nodes in container
This commit is contained in:
commit
37f11f9bba
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ class MayaPlaceholderLoadPlugin(PlaceholderPlugin, PlaceholderLoadMixin):
|
|||
if not container:
|
||||
return
|
||||
|
||||
roots = cmds.sets(container, q=True)
|
||||
roots = cmds.sets(container, q=True) or []
|
||||
ref_node = None
|
||||
try:
|
||||
ref_node = get_reference_node(roots)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue