OP-2005 - set default from Settings to dropdown

This commit is contained in:
Petr Kalis 2022-04-12 17:56:18 +02:00
parent 8c3e63c35d
commit 9b1a739e18

View file

@ -388,7 +388,7 @@ class CollectMayaRender(pyblish.api.ContextPlugin):
# get string values for pools
primary_pool = overrides["renderGlobals"]["Pool"]
secondary_pool = overrides["renderGlobals"]["SecondaryPool"]
secondary_pool = overrides["renderGlobals"].get("SecondaryPool")
data["primaryPool"] = primary_pool
data["secondaryPool"] = secondary_pool