mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
use 'asset' from context instead of from anatomy data
This commit is contained in:
parent
1790c5516c
commit
05ab5e2e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ class CreatePublishRoyalRenderJob(pyblish.api.InstancePlugin,
|
|||
|
||||
environment = RREnvList({
|
||||
"AVALON_PROJECT": anatomy_data["project"]["name"],
|
||||
"AVALON_ASSET": anatomy_data["asset"],
|
||||
"AVALON_ASSET": instance.context.data["asset"],
|
||||
"AVALON_TASK": anatomy_data["task"]["name"],
|
||||
"OPENPYPE_USERNAME": anatomy_data["user"]
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue