From c326a8bfd4e9032162bde742d13da628a6f70d1c Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Wed, 15 Nov 2023 11:44:28 +0100 Subject: [PATCH] in ayon folderPath should be on creator instance data --- .../hosts/traypublisher/plugins/create/create_editorial.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openpype/hosts/traypublisher/plugins/create/create_editorial.py b/openpype/hosts/traypublisher/plugins/create/create_editorial.py index c3453f1eae..198e05d593 100644 --- a/openpype/hosts/traypublisher/plugins/create/create_editorial.py +++ b/openpype/hosts/traypublisher/plugins/create/create_editorial.py @@ -224,8 +224,10 @@ or updating already created. Publishing will create OTIO file. i["family"] for i in self._creator_settings["family_presets"] ] } - # Create otio editorial instance - asset_name = instance_data["asset"] + if AYON_SERVER_ENABLED: + asset_name = instance_data["folderPath"] + else: + asset_name = instance_data["asset"] asset_doc = get_asset_by_name(self.project_name, asset_name)