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 de36680359 - Show all commits

View File

@ -27,7 +27,7 @@ from .util import get_storage_of_id
DELIMITER = "." DELIMITER = "."
def get_asset_basename(name): def get_basename(name):
return DELIMITER.join(name.split(DELIMITER)[:-1]) return DELIMITER.join(name.split(DELIMITER)[:-1])
@ -43,7 +43,7 @@ def remove_suffix_from_hierarchy(collection: bpy.types.Collection):
# Don't rename linked datablocks. # Don't rename linked datablocks.
continue continue
try: try:
db.name = get_asset_basename(db.name) db.name = get_basename(db.name)
except: except:
pass pass