From 63ce0b8218f8747a3a15eddd532ce3b0eb8b134e Mon Sep 17 00:00:00 2001 From: wikoreman Date: Wed, 3 Oct 2018 17:16:39 +0200 Subject: [PATCH] fixed bug in assertion --- colorbleed/plugins/maya/publish/collect_yeti_rig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorbleed/plugins/maya/publish/collect_yeti_rig.py b/colorbleed/plugins/maya/publish/collect_yeti_rig.py index 3198120374..feb7a19199 100644 --- a/colorbleed/plugins/maya/publish/collect_yeti_rig.py +++ b/colorbleed/plugins/maya/publish/collect_yeti_rig.py @@ -26,7 +26,7 @@ class CollectYetiRig(pyblish.api.InstancePlugin): def process(self, instance): - assert "input_SET" in cmds.sets(instance.name, query=True), ( + assert "input_SET" in instance.data["setMembers"], ( "Yeti Rig must have an input_SET") # Get the input meshes information