From 0bfdd3668c1a5787802b02dee8ae2acbbb3c2dcb Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Wed, 24 Jul 2019 10:56:33 +0200 Subject: [PATCH] hotfix(maya) making maketx argument in look collection overridable from presets. --- pype/plugins/maya/publish/collect_look.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pype/plugins/maya/publish/collect_look.py b/pype/plugins/maya/publish/collect_look.py index 614e5b44a4..8482369407 100644 --- a/pype/plugins/maya/publish/collect_look.py +++ b/pype/plugins/maya/publish/collect_look.py @@ -211,6 +211,7 @@ class CollectLook(pyblish.api.InstancePlugin): families = ["look"] label = "Collect Look" hosts = ["maya"] + maketx = True def process(self, instance): """Collect the Look in the instance with the correct layer settings""" @@ -220,7 +221,8 @@ class CollectLook(pyblish.api.InstancePlugin): # make ftrack publishable instance.data["families"] = ['ftrack'] - instance.data['maketx'] = True + instance.data['maketx'] = self.maketx + self.log.info('maketx: {}'.format(self.maketx)) def collect(self, instance):