mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fixed data access
This commit is contained in:
parent
6c457b2ed1
commit
30db574170
1 changed files with 2 additions and 2 deletions
|
|
@ -825,7 +825,7 @@ class IntegrateAsset(pyblish.api.InstancePlugin):
|
|||
"""
|
||||
|
||||
return (
|
||||
instance.context["project_settings"]
|
||||
instance.context.data["project_settings"]
|
||||
["global"]
|
||||
["publish"]
|
||||
["IntegrateAssetNew"]
|
||||
|
|
@ -845,7 +845,7 @@ class IntegrateAsset(pyblish.api.InstancePlugin):
|
|||
"families": anatomy_data["family"],
|
||||
"tasks": task.get("name"),
|
||||
"task_types": task.get("type"),
|
||||
"hosts": instance.context["hostName"],
|
||||
"hosts": instance.context.data["hostName"],
|
||||
}
|
||||
|
||||
def get_rootless_path(self, anatomy, path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue