Asset Pipeline v2 #145
@ -14,8 +14,12 @@ def copy_transfer_data_ownership(
|
||||
target_obj (bpy.types.Object): Object to add transfer data item to
|
||||
"""
|
||||
transfer_data = target_obj.transfer_data_ownership
|
||||
transfer_items_names = [transfer_info.name for transfer_info in transfer_data]
|
||||
if transfer_data_item.name not in transfer_items_names:
|
||||
matches = check_transfer_data_entry(
|
||||
transfer_data,
|
||||
transfer_data_item.name,
|
||||
transfer_data_item.type,
|
||||
)
|
||||
if len(matches) == 0:
|
||||
transfer_data_add_entry(
|
||||
transfer_data,
|
||||
transfer_data_item.name,
|
||||
|
Loading…
Reference in New Issue
Block a user