From fc4ece3ddfefa8ec0ff31a218c019b69bd2349b9 Mon Sep 17 00:00:00 2001 From: wikoreman Date: Mon, 23 Jul 2018 14:17:05 +0200 Subject: [PATCH] using empty string instead of '-' --- colorbleed/plugins/maya/publish/collect_renderlayers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colorbleed/plugins/maya/publish/collect_renderlayers.py b/colorbleed/plugins/maya/publish/collect_renderlayers.py index 64bce44151..4fa1c4a846 100644 --- a/colorbleed/plugins/maya/publish/collect_renderlayers.py +++ b/colorbleed/plugins/maya/publish/collect_renderlayers.py @@ -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