mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +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 (
|
return (
|
||||||
instance.context["project_settings"]
|
instance.context.data["project_settings"]
|
||||||
["global"]
|
["global"]
|
||||||
["publish"]
|
["publish"]
|
||||||
["IntegrateAssetNew"]
|
["IntegrateAssetNew"]
|
||||||
|
|
@ -845,7 +845,7 @@ class IntegrateAsset(pyblish.api.InstancePlugin):
|
||||||
"families": anatomy_data["family"],
|
"families": anatomy_data["family"],
|
||||||
"tasks": task.get("name"),
|
"tasks": task.get("name"),
|
||||||
"task_types": task.get("type"),
|
"task_types": task.get("type"),
|
||||||
"hosts": instance.context["hostName"],
|
"hosts": instance.context.data["hostName"],
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_rootless_path(self, anatomy, path):
|
def get_rootless_path(self, anatomy, path):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue