mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge branch 'hotfix/ftrack_sync_milestone' into develop
This commit is contained in:
commit
2ff53c14e1
1 changed files with 5 additions and 1 deletions
|
|
@ -236,6 +236,7 @@ class SyncEntitiesFactory:
|
|||
" from TypedContext where project_id is \"{}\""
|
||||
)
|
||||
ignore_custom_attr_key = "avalon_ignore_sync"
|
||||
ignore_entity_types = ["milestone"]
|
||||
|
||||
report_splitter = {"type": "label", "value": "---"}
|
||||
|
||||
|
|
@ -366,7 +367,10 @@ class SyncEntitiesFactory:
|
|||
parent_id = entity["parent_id"]
|
||||
entity_type = entity.entity_type
|
||||
entity_type_low = entity_type.lower()
|
||||
if entity_type_low == "task":
|
||||
if entity_type_low in self.ignore_entity_types:
|
||||
continue
|
||||
|
||||
elif entity_type_low == "task":
|
||||
entities_dict[parent_id]["tasks"].append(entity["name"])
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue