Asset Pipeline v2 #145

Closed
Nick Alberelli wants to merge 431 commits from (deleted):feature/asset-pipeline-v2 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 2e974a22f0 - Show all commits

View File

@ -146,3 +146,15 @@ def get_task_layer_col_name(task_layer_key) -> str:
""" """
task_layer_name = constants.TASK_LAYER_TYPES[task_layer_key] task_layer_name = constants.TASK_LAYER_TYPES[task_layer_key]
return get_name_with_asset_prefix(task_layer_name) return get_name_with_asset_prefix(task_layer_name)
def get_id_type_name(id_type: bpy.types) -> str:
"""Return the cosmetic name of a given ID type
Args:
id_type (bpy.types): An ID type e.g. bpy.types.Object
Returns:
str: Name of an ID type e.g. bpy.types.Object will return 'Object'
"""
return str(id_type).split("'bpy_types.")[1].replace("'>", "")