mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fixed undefined variable in remove
This commit is contained in:
parent
06cf676bf8
commit
a434041a27
1 changed files with 2 additions and 2 deletions
|
|
@ -767,10 +767,10 @@ class SyncToAvalonEvent(BaseEvent):
|
||||||
recreate_ents = []
|
recreate_ents = []
|
||||||
removed_names = []
|
removed_names = []
|
||||||
for ftrack_id, removed in ent_infos.items():
|
for ftrack_id, removed in ent_infos.items():
|
||||||
if entity_type == "Task":
|
entity_type = removed["entity_type"]
|
||||||
|
if entity_type.lower() == "task":
|
||||||
continue
|
continue
|
||||||
|
|
||||||
entity_type = removed["entity_type"]
|
|
||||||
removed_name = removed["changes"]["name"]["old"]
|
removed_name = removed["changes"]["name"]["old"]
|
||||||
|
|
||||||
avalon_ent = self.avalon_ents_by_ftrack_id.get(ftrack_id)
|
avalon_ent = self.avalon_ents_by_ftrack_id.get(ftrack_id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue