From 87b100236fb5fc7544b03c3caaa4fe5bc66e10b1 Mon Sep 17 00:00:00 2001 From: Toke Stuart Jepsen Date: Wed, 6 May 2020 09:09:06 +0100 Subject: [PATCH] Fix render collection --- pype/plugins/maya/publish/collect_render.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pype/plugins/maya/publish/collect_render.py b/pype/plugins/maya/publish/collect_render.py index 68e865b3e0..456b584191 100644 --- a/pype/plugins/maya/publish/collect_render.py +++ b/pype/plugins/maya/publish/collect_render.py @@ -157,6 +157,9 @@ class CollectMayaRender(pyblish.api.ContextPlugin): attachTo = [] if sets: for s in sets: + if "family" not in cmds.listAttr(s): + continue + attachTo.append( { "version": None, # we need integrator for that