Asset Pipeline v2 #145
@ -109,6 +109,7 @@ def get_task_layer_col_name(task_layer_key):
|
||||
|
||||
def get_name_with_asset_prefix(name):
|
||||
# TODO Docstring and return types
|
||||
# TODO Add check if prefix already exists, don't add two prefixes
|
||||
asset_pipe = bpy.context.scene.asset_pipeline
|
||||
prefix = asset_pipe.prefix + "." if asset_pipe.prefix != "" else ""
|
||||
return prefix + name
|
||||
|
Loading…
Reference in New Issue
Block a user