From b396a8d76b86183b4d9cc464cec24427d2dc799d Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Fri, 4 Nov 2022 11:18:50 +0100 Subject: [PATCH] OP-4371 - fix - wrong call of list_instances --- openpype/hosts/aftereffects/api/pipeline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openpype/hosts/aftereffects/api/pipeline.py b/openpype/hosts/aftereffects/api/pipeline.py index e7f83e1f89..3f18347d44 100644 --- a/openpype/hosts/aftereffects/api/pipeline.py +++ b/openpype/hosts/aftereffects/api/pipeline.py @@ -294,5 +294,6 @@ def cache_and_get_instances(creator): """ shared_key = "openpype.photoshop.instances" if shared_key not in creator.collection_shared_data: - creator.collection_shared_data[shared_key] = creator.list_instances() + creator.collection_shared_data[shared_key] = \ + creator.host.list_instances() return creator.collection_shared_data[shared_key]