diff --git a/colorbleed/plugins/maya/publish/collect_instances.py b/colorbleed/plugins/maya/publish/collect_instances.py index 1bcafa2351..58da0e4ea9 100644 --- a/colorbleed/plugins/maya/publish/collect_instances.py +++ b/colorbleed/plugins/maya/publish/collect_instances.py @@ -96,7 +96,8 @@ class CollectInstances(pyblish.api.ContextPlugin): children = cmds.listRelatives(members, allDescendents=True, - fullPath=True) or [] + fullPath=True, + noIntermediate=True) or [] parents = self.get_all_parents(members) members_hierarchy = list(set(members + children + parents))