mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
OP-2766 - Fix pulling task and project from context
This commit is contained in:
parent
a19983313c
commit
653d0c1366
2 changed files with 4 additions and 4 deletions
|
|
@ -15,12 +15,12 @@ class CollectReview(pyblish.api.ContextPlugin):
|
|||
|
||||
def process(self, context):
|
||||
family = "review"
|
||||
task = os.getenv("AVALON_TASK", None)
|
||||
subset = get_subset_name(
|
||||
family,
|
||||
"",
|
||||
task,
|
||||
context.data["anatomyData"]["task"]["name"],
|
||||
context.data["assetEntity"]["_id"],
|
||||
context.data["anatomyData"]["project"]["name"],
|
||||
host_name="photoshop"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@ class CollectWorkfile(pyblish.api.ContextPlugin):
|
|||
|
||||
def process(self, context):
|
||||
family = "workfile"
|
||||
task = os.getenv("AVALON_TASK", None)
|
||||
subset = get_subset_name(
|
||||
family,
|
||||
"",
|
||||
task,
|
||||
context.data["anatomyData"]["task"]["name"],
|
||||
context.data["assetEntity"]["_id"],
|
||||
context.data["anatomyData"]["project"]["name"],
|
||||
host_name="photoshop"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue