modified content of 'loadedVersions'

This commit is contained in:
Jakub Trllo 2024-02-21 18:38:17 +01:00
parent 464fc4c783
commit 92d3efe101
2 changed files with 4 additions and 4 deletions

View file

@ -67,9 +67,9 @@ class CollectSceneLoadedVersions(pyblish.api.ContextPlugin):
# NOTE:
# may have more then one representation that are same version
version = {
"subsetName": con["name"],
"representation": repre_doc["_id"],
"version": repre_doc["parent"],
"container_name": con["name"],
"representation_id": repre_doc["_id"],
"version_id": repre_doc["parent"],
}
loaded_versions.append(version)

View file

@ -107,7 +107,7 @@ class IntegrateInputLinksAYON(pyblish.api.ContextPlugin):
self.add_link(
new_links_by_type,
"reference",
version["version"],
version["version_id"],
workfile_version_id,
)