From 62f02f92bd9c72a3f81cd17a04fa44a438388533 Mon Sep 17 00:00:00 2001 From: Jakub Trllo Date: Tue, 8 Feb 2022 11:45:51 +0100 Subject: [PATCH] sync description in sync to avalon action --- openpype/modules/default_modules/ftrack/lib/avalon_sync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openpype/modules/default_modules/ftrack/lib/avalon_sync.py b/openpype/modules/default_modules/ftrack/lib/avalon_sync.py index f58eb91485..66cf7645c2 100644 --- a/openpype/modules/default_modules/ftrack/lib/avalon_sync.py +++ b/openpype/modules/default_modules/ftrack/lib/avalon_sync.py @@ -304,7 +304,7 @@ class SyncEntitiesFactory: " from Project where full_name is \"{}\"" ) entities_query = ( - "select id, name, type_id, parent_id, link" + "select id, name, type_id, parent_id, link, description" " from TypedContext where project_id is \"{}\"" ) ignore_custom_attr_key = "avalon_ignore_sync" @@ -1231,6 +1231,8 @@ class SyncEntitiesFactory: data[key] = val if ftrack_id != self.ft_project_id: + data["description"] = entity["description"] + ent_path_items = [ent["name"] for ent in entity["link"]] parents = ent_path_items[1:len(ent_path_items) - 1:]