mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
get product_type from workfile instance
This commit is contained in:
parent
81fb1e73c4
commit
c33795b68a
1 changed files with 1 additions and 3 deletions
|
|
@ -822,9 +822,7 @@ def replace_with_published_scene_path(instance, replace_in_path=True):
|
|||
template_name = get_publish_template_name(
|
||||
project_name=project_name,
|
||||
host_name=instance.context.data["hostName"],
|
||||
# publish template has to match productType "workfile",
|
||||
# otherwise default template will be used:
|
||||
product_type="workfile",
|
||||
product_type=workfile_instance.data["productType"],
|
||||
task_name=task_name,
|
||||
task_type=task_type,
|
||||
project_settings=project_settings,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue