mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
simplified check for pools
This commit is contained in:
parent
7957e854ca
commit
b02cb7e3db
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ class CollectMayaRenderlayers(pyblish.api.ContextPlugin):
|
|||
|
||||
# Check for specific pools
|
||||
pool_str = attributes.get("pools", None)
|
||||
if pool_str is not None and not "":
|
||||
if pool_str:
|
||||
pools = pool_str.split(";")
|
||||
options["renderGlobals"]["Pool"] = pools[0]
|
||||
if len(pools) > 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue