mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
sync description in sync to avalon action
This commit is contained in:
parent
8175509bd8
commit
62f02f92bd
1 changed files with 3 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ class SyncEntitiesFactory:
|
|||
" from Project where full_name is \"{}\""
|
||||
)
|
||||
entities_query = (
|
||||
"select id, name, type_id, parent_id, link"
|
||||
"select id, name, type_id, parent_id, link, description"
|
||||
" from TypedContext where project_id is \"{}\""
|
||||
)
|
||||
ignore_custom_attr_key = "avalon_ignore_sync"
|
||||
|
|
@ -1231,6 +1231,8 @@ class SyncEntitiesFactory:
|
|||
data[key] = val
|
||||
|
||||
if ftrack_id != self.ft_project_id:
|
||||
data["description"] = entity["description"]
|
||||
|
||||
ent_path_items = [ent["name"] for ent in entity["link"]]
|
||||
parents = ent_path_items[1:len(ent_path_items) - 1:]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue