Asset Pipeline v2 #145
@ -22,16 +22,16 @@ from typing import List, Dict, Union, Any, Set, Optional, Tuple, Generator
|
||||
import bpy
|
||||
from bpy_extras.id_map_utils import get_id_reference_map, get_all_referenced_ids
|
||||
|
||||
from .utils import get_storage_of_id
|
||||
from .util import get_storage_of_id
|
||||
|
||||
DELIMITER = "."
|
||||
|
||||
|
||||
def get_asset_basename(name):
|
||||
return DELIMITER.join(name.split(DELIMITER)[:-1])
|
||||
|
||||
def remove_suffix_from_hierarchy(
|
||||
collection: bpy.types.Collection
|
||||
):
|
||||
|
||||
def remove_suffix_from_hierarchy(collection: bpy.types.Collection):
|
||||
"""Removes the suffix after a set delimiter from all datablocks
|
||||
referenced by a collection, itself included"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user