mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
remove added code of previous commit
This commit is contained in:
parent
315dfe79a4
commit
1f96a74bac
1 changed files with 0 additions and 12 deletions
|
|
@ -85,18 +85,6 @@ class IntegrateHierarchyToFtrack(pyblish.api.ContextPlugin):
|
||||||
type=entity_type,
|
type=entity_type,
|
||||||
parent=parent
|
parent=parent
|
||||||
)
|
)
|
||||||
|
|
||||||
if entity.entity_type.lower() not in ["task", "project"]:
|
|
||||||
filter = {
|
|
||||||
"type": "asset",
|
|
||||||
"name": entity_name
|
|
||||||
}
|
|
||||||
update_data = {
|
|
||||||
"data.ftrackId": entity["id"],
|
|
||||||
"data.entityType": entity.entity_type
|
|
||||||
}
|
|
||||||
io.update_one(filter, update_data)
|
|
||||||
|
|
||||||
# self.log.info('entity: {}'.format(dict(entity)))
|
# self.log.info('entity: {}'.format(dict(entity)))
|
||||||
# CUSTOM ATTRIBUTES
|
# CUSTOM ATTRIBUTES
|
||||||
custom_attributes = entity_data.get('custom_attributes', [])
|
custom_attributes = entity_data.get('custom_attributes', [])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue