Merge pull request #2715 from pypeclub/bugfix/loaded_versions_key_fix

General: Don't use 'objectName' from loaded references
This commit is contained in:
Jakub Trllo 2022-02-14 18:31:58 +01:00 committed by GitHub
commit 3bc8ae4e3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,6 @@ class CollectSceneLoadedVersions(pyblish.api.ContextPlugin):
# NOTE:
# may have more then one representation that are same version
version = {
"objectName": con["objectName"], # container node name
"subsetName": con["name"],
"representation": io.ObjectId(con["representation"]),
"version": version_by_repr[con["representation"]], # _id