mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Update when even is emitted
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
60e6d4df2f
commit
bab05592bc
1 changed files with 6 additions and 1 deletions
|
|
@ -363,10 +363,15 @@ class PushToContextController:
|
|||
)
|
||||
|
||||
def _submit_callback(self):
|
||||
for process_item_id in self._process_item_ids:
|
||||
process_item_ids = self._process_item_ids
|
||||
for process_item_id in process_item_ids:
|
||||
self._integrate_model.integrate_item(process_item_id)
|
||||
|
||||
self._emit_event("submit.finished", {})
|
||||
|
||||
if process_item_ids is self._process_item_ids:
|
||||
self._process_item_ids = []
|
||||
|
||||
def _emit_event(self, topic, data=None):
|
||||
if data is None:
|
||||
data = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue