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

View File

@ -127,12 +127,11 @@ class ASSETPIPE_OT_create_new_asset(bpy.types.Operator):
bpy.ops.wm.save_as_mainfile(filepath=first_file, copy=True) bpy.ops.wm.save_as_mainfile(filepath=first_file, copy=True)
starting_file = first_file starting_file = first_file
# TODO Support mulitple task layers in same file
# Create the file for each task layer. # Create the file for each task layer.
for task_layer_key in config.TASK_LAYER_TYPES: for task_layer_key in config.TASK_LAYER_TYPES:
if task_layer_key == "NONE" or task_layer_key in local_tls: if task_layer_key == "NONE" or task_layer_key in local_tls:
continue continue
name = self._name + "." + task_layer_key + ".blend" name = self._name + "." + task_layer_key.lower() + ".blend"
# Remove Data From Newly Created Files that aren't the user's main file # Remove Data From Newly Created Files that aren't the user's main file
for col in bpy.data.collections: for col in bpy.data.collections: