mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
fux bug, get project name from context
This commit is contained in:
parent
389288a506
commit
fa8b4e808b
1 changed files with 1 additions and 1 deletions
|
|
@ -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"] = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue