Fixed problem with missing attribute in avalon properties

This commit is contained in:
Simone Barbieri 2021-07-07 10:55:04 +01:00
parent b7ef4b34c6
commit 9ad9c5b52e
4 changed files with 8 additions and 4 deletions

View file

@ -156,7 +156,8 @@ class CacheModelLoader(plugin.AssetLoader):
"libpath": libpath,
"asset_name": asset_name,
"parent": str(context["representation"]["parent"]),
"family": context["representation"]["context"]["family"]
"family": context["representation"]["context"]["family"],
"objectName": group_name
}
self[:] = objects

View file

@ -165,7 +165,8 @@ class FbxModelLoader(plugin.AssetLoader):
"libpath": libpath,
"asset_name": asset_name,
"parent": str(context["representation"]["parent"]),
"family": context["representation"]["context"]["family"]
"family": context["representation"]["context"]["family"],
"objectName": group_name
}
self[:] = objects

View file

@ -141,7 +141,8 @@ class BlendModelLoader(plugin.AssetLoader):
"libpath": libpath,
"asset_name": asset_name,
"parent": str(context["representation"]["parent"]),
"family": context["representation"]["context"]["family"]
"family": context["representation"]["context"]["family"],
"objectName": group_name
}
self[:] = objects

View file

@ -175,7 +175,8 @@ class BlendRigLoader(plugin.AssetLoader):
"libpath": libpath,
"asset_name": asset_name,
"parent": str(context["representation"]["parent"]),
"family": context["representation"]["context"]["family"]
"family": context["representation"]["context"]["family"],
"objectName": group_name
}
self[:] = objects