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 27d7256cb7 - Show all commits

View File

@ -108,9 +108,9 @@ def get_task_layer_col_name(task_layer_key):
def get_name_with_asset_prefix(name: str):
# TODO Docstring and return types
asset_pipe = bpy.context.scene.asset_pipeline
if name.startswith(asset_pipe.prefix + "."):
return name
asset_pipe = bpy.context.scene.asset_pipeline
prefix = asset_pipe.prefix + "." if asset_pipe.prefix != "" else ""
return prefix + name