mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #3593 from Tilix4/fx_kitsu_shots_name
Kitsu: Shot&Sequence name with prefix over appends
This commit is contained in:
commit
aad42517d2
1 changed files with 2 additions and 2 deletions
|
|
@ -230,9 +230,9 @@ def update_op_assets(
|
|||
if item_type in ["Shot", "Sequence"]:
|
||||
# Name with parents hierarchy "({episode}_){sequence}_{shot}"
|
||||
# to avoid duplicate name issue
|
||||
item_name = "_".join(item_data["parents"] + [item_doc["name"]])
|
||||
item_name = f"{item_data['parents'][-1]}_{item['name']}"
|
||||
else:
|
||||
item_name = item_doc["name"]
|
||||
item_name = item["name"]
|
||||
|
||||
# Set root folders parents
|
||||
item_data["parents"] = entity_parent_folders + item_data["parents"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue