From c0772c505ff9e70ee4baeffc7abbc98852d50285 Mon Sep 17 00:00:00 2001 From: aardschok Date: Fri, 1 Dec 2017 10:15:54 +0100 Subject: [PATCH] removed list all descendents from update, not needed anymore --- colorbleed/plugins/maya/load/load_yeti_cache.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/colorbleed/plugins/maya/load/load_yeti_cache.py b/colorbleed/plugins/maya/load/load_yeti_cache.py index 35fdf4ea68..05a09ec1ad 100644 --- a/colorbleed/plugins/maya/load/load_yeti_cache.py +++ b/colorbleed/plugins/maya/load/load_yeti_cache.py @@ -144,8 +144,7 @@ class YetiCacheLoader(api.Loader): path = api.get_representation_path(representation) members = cmds.sets(container['objectName'], query=True) - all_members = cmds.listRelatives(members, ad=True) - yeti_node = cmds.ls(all_members, type="pgYetiMaya", long=True) + yeti_node = cmds.ls(members, type="pgYetiMaya", long=True) for node in yeti_node: node_name = node.split(":")[-1]