Harmony template publish

This commit is contained in:
Toke Stuart Jepsen 2020-05-22 17:24:15 +01:00
parent 436e635b94
commit 9e8bb4baa8
6 changed files with 198 additions and 2 deletions

View file

@ -81,7 +81,8 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
"assembly",
"fbx",
"textures",
"action"
"action",
"template"
]
exclude_families = ["clip"]
db_representation_context_keys = [
@ -743,7 +744,7 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
matching_profiles[name] = filters
if len(matching_profiles) == 1:
template_name = matching_profiles.keys()[0]
template_name = tuple(matching_profiles.keys())[0]
self.log.debug(
"Using template name \"{}\".".format(template_name)
)