mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
intent added to anatomy data
This commit is contained in:
parent
e23cc33de7
commit
29c6768da9
1 changed files with 4 additions and 1 deletions
|
|
@ -154,7 +154,6 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
|
|||
)
|
||||
)
|
||||
|
||||
intent = context.data.get("intent")
|
||||
subset = self.get_subset(asset_entity, instance)
|
||||
|
||||
# TODO iLLiCiT use "latestVersion" from `instance.data`
|
||||
|
|
@ -213,6 +212,10 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
|
|||
version_id = existing_version['_id']
|
||||
instance.data['version'] = version['name']
|
||||
|
||||
intent = context.data.get("intent")
|
||||
if intent is not None:
|
||||
anatomy_data["intent"] = intent
|
||||
|
||||
anatomy = instance.context.data['anatomy']
|
||||
|
||||
# Find the representations to transfer amongst the files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue