mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
Hound: suggestions
This commit is contained in:
parent
22eeadb621
commit
e5f433fe83
1 changed files with 3 additions and 1 deletions
|
|
@ -913,6 +913,7 @@ def get_sequence_pattern_and_padding(file):
|
|||
else:
|
||||
return None, None
|
||||
|
||||
|
||||
def sync_clip_name_to_data_asset(track_items_list):
|
||||
# loop trough all selected clips
|
||||
for track_item in track_items_list:
|
||||
|
|
@ -945,6 +946,7 @@ def sync_clip_name_to_data_asset(track_items_list):
|
|||
set_track_item_pype_tag(track_item, data)
|
||||
print("asset was changed in clip: {}".format(ti_name))
|
||||
|
||||
|
||||
def selection_changed_timeline(event):
|
||||
"""Callback on timeline to check if asset in data is the same as clip name.
|
||||
|
||||
|
|
@ -967,4 +969,4 @@ def before_project_save(event):
|
|||
check_tagged=True)
|
||||
|
||||
# run checking function
|
||||
sync_clip_name_to_data_asset(track_items)
|
||||
sync_clip_name_to_data_asset(track_items)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue