mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Fix container data in loaders
This commit is contained in:
parent
9adf62f2f2
commit
b72f94e9ee
6 changed files with 11 additions and 11 deletions
|
|
@ -118,8 +118,8 @@ class PointCacheAlembicLoader(UnrealBaseLoader):
|
|||
"container_name": container_name,
|
||||
"asset_name": asset_name,
|
||||
"loader": self.__class__.__name__,
|
||||
"representation": str(context["representation"]["_id"]),
|
||||
"parent": str(context["representation"]["parent"]),
|
||||
"representation": str(context["representation"]["id"]),
|
||||
"parent": str(context["representation"]["versionId"]),
|
||||
"frame_start": frame_start,
|
||||
"frame_end": frame_end,
|
||||
"product_type": product_type,
|
||||
|
|
|
|||
|
|
@ -580,7 +580,7 @@ class LayoutLoader(UnrealBaseLoader):
|
|||
"container_name": container_name,
|
||||
"asset_name": asset_name,
|
||||
"loader": str(self.__class__.__name__),
|
||||
"representation": str(context["representation"]["_id"]),
|
||||
"representation": str(context["representation"]["id"]),
|
||||
"parent": str(context["representation"]["versionId"]),
|
||||
"family": context["product"]["productType"],
|
||||
"loaded_assets": loaded_assets
|
||||
|
|
|
|||
|
|
@ -106,8 +106,8 @@ class SkeletalMeshAlembicLoader(UnrealBaseLoader):
|
|||
"container_name": container_name,
|
||||
"asset_name": asset_name,
|
||||
"loader": self.__class__.__name__,
|
||||
"representation": str(context["representation"]["_id"]),
|
||||
"parent": str(context["representation"]["parent"]),
|
||||
"representation": str(context["representation"]["id"]),
|
||||
"parent": str(context["representation"]["versionId"]),
|
||||
"default_conversion": default_conversion,
|
||||
"product_type": product_type,
|
||||
# TODO these should be probably removed
|
||||
|
|
|
|||
|
|
@ -113,8 +113,8 @@ class SkeletalMeshFBXLoader(UnrealBaseLoader):
|
|||
"container_name": container_name,
|
||||
"asset_name": asset_name,
|
||||
"loader": self.__class__.__name__,
|
||||
"representation": str(context["representation"]["_id"]),
|
||||
"parent": str(context["representation"]["parent"]),
|
||||
"representation": str(context["representation"]["id"]),
|
||||
"parent": str(context["representation"]["versionId"]),
|
||||
"product_type": product_type,
|
||||
# TODO these should be probably removed
|
||||
"asset": folder_path,
|
||||
|
|
|
|||
|
|
@ -112,8 +112,8 @@ class StaticMeshAlembicLoader(UnrealBaseLoader):
|
|||
"container_name": container_name,
|
||||
"asset_name": asset_name,
|
||||
"loader": self.__class__.__name__,
|
||||
"representation": str(context["representation"]["_id"]),
|
||||
"parent": str(context["representation"]["parent"]),
|
||||
"representation": str(context["representation"]["id"]),
|
||||
"parent": str(context["representation"]["versionId"]),
|
||||
"default_conversion": default_conversion,
|
||||
"product_type": product_type,
|
||||
# TODO these should be probably removed
|
||||
|
|
|
|||
|
|
@ -98,8 +98,8 @@ class StaticMeshFBXLoader(UnrealBaseLoader):
|
|||
"container_name": container_name,
|
||||
"asset_name": asset_name,
|
||||
"loader": self.__class__.__name__,
|
||||
"representation": str(context["representation"]["_id"]),
|
||||
"parent": str(context["representation"]["parent"]),
|
||||
"representation": str(context["representation"]["id"]),
|
||||
"parent": str(context["representation"]["versionId"]),
|
||||
"product_type": product_type,
|
||||
# TODO these should be probably removed
|
||||
"asset": folder_path,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue