mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
object type ids preparation is at one place
This commit is contained in:
parent
10f0604173
commit
9fa01ac76e
1 changed files with 3 additions and 3 deletions
|
|
@ -208,13 +208,13 @@ class PushFrameValuesToTaskEvent(BaseEvent):
|
|||
self.join_query_keys(matching_parent_ids)
|
||||
)
|
||||
)
|
||||
object_type_ids = set()
|
||||
for entity in entities:
|
||||
object_type_ids.add(entity["object_type_id"])
|
||||
|
||||
# Prepare task object id
|
||||
task_object_id = object_types_by_name["task"]["id"]
|
||||
object_type_ids = set()
|
||||
object_type_ids.add(task_object_id)
|
||||
for entity in entities:
|
||||
object_type_ids.add(entity["object_type_id"])
|
||||
|
||||
attrs_by_obj_id, hier_attrs = self.attrs_configurations(
|
||||
session, object_type_ids, interest_attributes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue