Asset Pipeline v2 #145
@ -146,6 +146,7 @@ def get_name_with_task_layer_prefix(name: str) -> str:
|
||||
str: Returns name with prefix
|
||||
"""
|
||||
asset_pipe = bpy.context.scene.asset_pipeline
|
||||
prefix = asset_pipe.task_layer_name
|
||||
for task_layer_key in constants.TASK_LAYER_TYPES.keys():
|
||||
if name.startswith(task_layer_key + "."):
|
||||
return name
|
||||
|
Loading…
Reference in New Issue
Block a user