mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
more product naming
This commit is contained in:
parent
c03bc9b8a1
commit
cb4cf9d8c0
2 changed files with 4 additions and 4 deletions
|
|
@ -284,9 +284,9 @@ class ExistingLayoutLoader(plugin.Loader):
|
|||
|
||||
# Create the container for the asset.
|
||||
asset = repr_data.get('context').get('asset')
|
||||
subset = repr_data.get('context').get('subset')
|
||||
product_name = repr_data.get('context').get('subset')
|
||||
container = self._create_container(
|
||||
f"{asset}_{subset}", mesh_path, asset,
|
||||
f"{asset}_{product_name}", mesh_path, asset,
|
||||
repr_data.get('_id'), repr_data.get('parent'),
|
||||
repr_data.get('context').get('family')
|
||||
)
|
||||
|
|
|
|||
|
|
@ -401,7 +401,7 @@
|
|||
# import ftrack_api
|
||||
#
|
||||
# session = ftrack_api.Session()
|
||||
# subset_name = data["subset"]["name"]
|
||||
# product_name = data["subset"]["name"]
|
||||
# versions = {
|
||||
# '"{}"'.format(version_doc["name"])
|
||||
# for version_doc in data["versions"]
|
||||
|
|
@ -414,7 +414,7 @@
|
|||
# " and version in ({})"
|
||||
# ).format(
|
||||
# asset_ftrack_id,
|
||||
# subset_name,
|
||||
# product_name,
|
||||
# ",".join(versions)
|
||||
# )
|
||||
# ).all()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue