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

View File

@ -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)