Asset Pipeline v2 #145
@ -134,10 +134,6 @@ def merge_task_layer(
|
||||
|
||||
for source_obj in map.object_map:
|
||||
target_obj = map.object_map[source_obj]
|
||||
# TODO Figure out why this doesn't work on Push only Pull currently
|
||||
# transfer_core.copy_transfer_data(
|
||||
# target_obj.transfer_data_ownership, source_obj.transfer_data_ownership
|
||||
# )
|
||||
remap_user(source_obj, target_obj)
|
||||
transfer_core.transfer_data_clean(target_obj)
|
||||
|
||||
|
@ -25,7 +25,6 @@ def copy_transfer_data_ownership(
|
||||
|
||||
|
||||
def transfer_data_clean(obj):
|
||||
# TODO add each type of transfer data here
|
||||
transfer_functions.vertex_groups_clean(obj)
|
||||
transfer_functions.vertex_colors_clean(obj)
|
||||
transfer_functions.uv_layer_clean(obj)
|
||||
@ -181,14 +180,3 @@ def transfer_data_add_entry(
|
||||
transfer_info.owner = task_layer_name.upper()
|
||||
transfer_info.type = td_type
|
||||
return transfer_info
|
||||
|
||||
|
||||
def copy_transfer_data(source_data, target_data):
|
||||
source_data.clear()
|
||||
for transfer_info in target_data:
|
||||
transfer_data_add_entry(
|
||||
transfer_data=source_data,
|
||||
name=transfer_info.name,
|
||||
task_layer_name=transfer_info.owner,
|
||||
td_type=transfer_info.type,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user