mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Write the version instead of "latest" into the AYON URI
This commit is contained in:
parent
a8a0161799
commit
073ab83e78
1 changed files with 2 additions and 1 deletions
|
|
@ -138,13 +138,14 @@ def get_instance_uri_path(
|
|||
folder_path = instance.data["folderPath"]
|
||||
product_name = instance.data["productName"]
|
||||
project_name = context.data["projectName"]
|
||||
version_name = instance.data["version"]
|
||||
|
||||
# Get the layer's published path
|
||||
path = construct_ayon_entity_uri(
|
||||
project_name=project_name,
|
||||
folder_path=folder_path,
|
||||
product=product_name,
|
||||
version="latest",
|
||||
version=version_name,
|
||||
representation_name="usd"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue