Asset Pipeline v2 #145
@ -44,11 +44,10 @@ def transfer_data_add_entry(
|
||||
return transfer_data_item
|
||||
|
||||
|
||||
# TODO Test if Clean and Missing are redudent functions
|
||||
def transfer_data_clean(
|
||||
obj: bpy.types.Object, data_list: bpy.types.CollectionProperty, td_type_key: str
|
||||
):
|
||||
"""Remove transfer data entries if the corrisponding data doesn't exist
|
||||
"""Removes data if a transfer_data_item doesn't exist but the data does exist
|
||||
Args:
|
||||
obj (bpy.types.Object): Object containing transfer data
|
||||
data_list (bpy.types.CollectionProperty): Collection Property containing a type of possible transfer data e.g. obj.modifiers
|
||||
@ -67,7 +66,7 @@ def transfer_data_clean(
|
||||
def transfer_data_item_is_missing(
|
||||
transfer_data_item, data_list: bpy.types.CollectionProperty, td_type_key: str
|
||||
) -> bool:
|
||||
"""Returns true if a transfer_data_item does not exist
|
||||
"""Returns true if a transfer_data_item exists the data doesn't exist
|
||||
|
||||
Args:
|
||||
transfer_data_item (_type_): Item of Transfer Data
|
||||
|
Loading…
Reference in New Issue
Block a user