From fa8b4e808b8f45a1f1672f015bf8d46ea61bd4a6 Mon Sep 17 00:00:00 2001 From: MustafaJafar Date: Fri, 10 May 2024 12:04:33 +0300 Subject: [PATCH] fux bug, get project name from context --- client/ayon_core/hosts/houdini/plugins/publish/extract_hda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_core/hosts/houdini/plugins/publish/extract_hda.py b/client/ayon_core/hosts/houdini/plugins/publish/extract_hda.py index 5ac102332a..1a3bcacc38 100644 --- a/client/ayon_core/hosts/houdini/plugins/publish/extract_hda.py +++ b/client/ayon_core/hosts/houdini/plugins/publish/extract_hda.py @@ -32,7 +32,7 @@ class ExtractHDA(publish.Extractor): tool_name = hou.shelves.defaultToolName( hda_def.nodeTypeCategory().name(), hda_def.nodeTypeName()) hou.shelves.tool(tool_name).setToolLocations( - ("AYON/{}".format(self.project_name),)) + ("AYON/{}".format(instance.context.data["projectName"]),)) if "representations" not in instance.data: instance.data["representations"] = []