mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
using empty string instead of '-'
This commit is contained in:
parent
38726aa624
commit
fc4ece3ddf
1 changed files with 2 additions and 2 deletions
|
|
@ -128,8 +128,8 @@ class CollectMayaRenderlayers(pyblish.api.ContextPlugin):
|
|||
if pool_str:
|
||||
pool_a, pool_b = pool_str.split(";")
|
||||
options["renderGlobals"].update({"Pool": pool_a})
|
||||
if pool_b and pool_b != "-":
|
||||
options["renderGlobals"].update({"SecondaryPool": pool_a})
|
||||
if pool_b:
|
||||
options["renderGlobals"].update({"SecondaryPool": pool_b})
|
||||
|
||||
legacy = attributes["useLegacyRenderLayers"]
|
||||
options["renderGlobals"]["UseLegacyRenderLayers"] = legacy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue