Asset Pipeline v2 #145
@ -119,6 +119,11 @@ class ASSETPIPE_OT_create_new_asset(bpy.types.Operator):
|
||||
asset_pipe.name = self._name
|
||||
asset_pipe.prefix = self._prefix
|
||||
|
||||
for task_layer_key in config.TASK_LAYER_TYPES:
|
||||
bpy.data.collections.new(task_layer_key)
|
||||
task_layer_col = bpy.data.collections.get(task_layer_key)
|
||||
asset_col.children.link(task_layer_col)
|
||||
|
||||
starting_file = ""
|
||||
first_file = os.path.join(asset_path, Path(bpy.data.filepath).name)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user