add default channel data for tycache export

This commit is contained in:
Kayla Man 2023-10-09 18:20:34 +08:00
parent 91f97fb4a8
commit 02e1bfd22b

View file

@ -55,11 +55,15 @@ class CollectTyCacheData(pyblish.api.InstancePlugin,
"tycacheSplines",
"tycacheSplinesAdditionalSplines"
]
tyc_default_attrs = ["tycacheChanGroups", "tycacheChanPos",
"tycacheChanRot", "tycacheChanScale",
"tycacheChanVel", "tycacheChanShape",
"tycacheChanMatID", "tycacheChanMapping",
"tycacheChanMaterials"]
return [
EnumDef("all_tyc_attrs",
tyc_attr_enum,
default=None,
default=tyc_default_attrs,
multiselection=True,
label="TyCache Attributes"),
TextDef("tycache_layer",