mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
make sure all entities with changed tasks are processed even if they dont have any task left
This commit is contained in:
parent
bf04ce5fd0
commit
e2262ce929
1 changed files with 6 additions and 1 deletions
|
|
@ -2194,7 +2194,12 @@ class SyncToAvalonEvent(BaseEvent):
|
|||
|
||||
ftrack_mongo_mapping_found = {}
|
||||
not_found_ids = []
|
||||
tasks_per_ftrack_id = {}
|
||||
# Make sure all parents have updated tasks, as they may not have any
|
||||
tasks_per_ftrack_id = {
|
||||
ftrack_id: {}
|
||||
for ftrack_id in self.modified_tasks_ftrackids
|
||||
}
|
||||
|
||||
# Query all task types at once
|
||||
task_types = self.process_session.query(self.task_types_query).all()
|
||||
task_types_by_id = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue