diff --git a/openpype/hosts/hiero/api/lib.py b/openpype/hosts/hiero/api/lib.py index 1d613aff5a..a9982d96c4 100644 --- a/openpype/hosts/hiero/api/lib.py +++ b/openpype/hosts/hiero/api/lib.py @@ -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) \ No newline at end of file + sync_clip_name_to_data_asset(track_items)