mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Harmony template publish
This commit is contained in:
parent
436e635b94
commit
9e8bb4baa8
6 changed files with 198 additions and 2 deletions
|
|
@ -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)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue