diff --git a/pype/plugins/global/publish/integrate.py b/pype/plugins/global/publish/integrate.py index 208bc027d5..29a4ba3c17 100644 --- a/pype/plugins/global/publish/integrate.py +++ b/pype/plugins/global/publish/integrate.py @@ -25,8 +25,7 @@ class IntegrateAsset(pyblish.api.InstancePlugin): label = "Integrate Asset" order = pyblish.api.IntegratorOrder - families = ["look", - "assembly", + families = ["assembly", "yetiRig", "yeticache"] exclude_families = ["clip"] diff --git a/pype/plugins/global/publish/integrate_new.py b/pype/plugins/global/publish/integrate_new.py index 803ecdd7cc..25ab519c8c 100644 --- a/pype/plugins/global/publish/integrate_new.py +++ b/pype/plugins/global/publish/integrate_new.py @@ -61,7 +61,8 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin): "render", "write", "rig", - "plate" + "plate", + "look" ] exclude_families = ["clip"] diff --git a/pype/plugins/maya/publish/extract_look.py b/pype/plugins/maya/publish/extract_look.py index a9bff39066..463547f78c 100644 --- a/pype/plugins/maya/publish/extract_look.py +++ b/pype/plugins/maya/publish/extract_look.py @@ -281,6 +281,24 @@ class ExtractLook(pype.api.Extractor): instance.data["files"].append(maya_fname) instance.data["files"].append(json_fname) + instance.data["representations"] = [] + instance.data["representations"].append( + { + "name": "ma", + "ext": 'ma', + "files": os.path.basename(maya_fname), + "stagingDir": os.path.dirname(maya_fname), + } + ) + instance.data["representations"].append( + { + "name": "json", + "ext": 'json', + "files": os.path.basename(json_fname), + "stagingDir": os.path.dirname(json_fname), + } + ) + # Set up the resources transfers/links for the integrator instance.data["transfers"].extend(transfers) instance.data["hardlinks"].extend(hardlinks)