mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
add custom attributes key to assetversion data in integrate frant instances
This commit is contained in:
parent
8d18ee6390
commit
5bf0f2973d
1 changed files with 6 additions and 0 deletions
|
|
@ -125,6 +125,12 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
|
||||||
"thumbnail": comp['thumbnail']
|
"thumbnail": comp['thumbnail']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Add custom attributes for AssetVersion
|
||||||
|
assetversion_cust_attrs = {}
|
||||||
|
component_item["assetversion_data"]["custom_attributes"] = (
|
||||||
|
assetversion_cust_attrs
|
||||||
|
)
|
||||||
|
|
||||||
componentList.append(component_item)
|
componentList.append(component_item)
|
||||||
# Create copy with ftrack.unmanaged location if thumb or prev
|
# Create copy with ftrack.unmanaged location if thumb or prev
|
||||||
if comp.get('thumbnail') or comp.get('preview') \
|
if comp.get('thumbnail') or comp.get('preview') \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue