From 721cfca954d2d0016855b2fadabac3f908ecedf4 Mon Sep 17 00:00:00 2001 From: wikoreman Date: Tue, 16 Oct 2018 12:07:49 +0200 Subject: [PATCH] Force add cbId, mandatory attribute --- colorbleed/plugins/maya/publish/extract_pointcache.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/colorbleed/plugins/maya/publish/extract_pointcache.py b/colorbleed/plugins/maya/publish/extract_pointcache.py index eb0bf75f66..ccf222408f 100644 --- a/colorbleed/plugins/maya/publish/extract_pointcache.py +++ b/colorbleed/plugins/maya/publish/extract_pointcache.py @@ -33,8 +33,7 @@ class ExtractColorbleedAlembic(colorbleed.api.Extractor): end += handles attrs = instance.data.get("attr", "").split(";") - if not attrs: - attrs = ["cbId"] + attrs += ["cbId"] attr_prefixes = instance.data.get("attrPrefix", "").split(";")