diff --git a/colorbleed/plugins/maya/publish/extract_yeti_rig.py b/colorbleed/plugins/maya/publish/extract_yeti_rig.py index a086accfe8..5a5a101747 100644 --- a/colorbleed/plugins/maya/publish/extract_yeti_rig.py +++ b/colorbleed/plugins/maya/publish/extract_yeti_rig.py @@ -22,7 +22,11 @@ def disconnected_attributes(settings, members): sources = [i for i in source_nodes if not cmds.referenceQuery(i, isNodeReferenced=True) and i in members] - source = sources[0] + try: + source = sources[0] + except IndexError: + print "source_id:", input["sourceID"] + continue # Get destination shapes (the shapes used as hook up) destination_nodes = lib.lsattr("cbId", input["destinationID"])