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 8e37024b9b - Show all commits

View File

@ -183,8 +183,8 @@ class ASSETPIPE_OT_create_new_asset(bpy.types.Operator):
def _task_layer_file_create(self, context, task_layer_key, asset_directory): def _task_layer_file_create(self, context, task_layer_key, asset_directory):
name = self._name + "." + task_layer_key.lower() + ".blend" name = self._name + "." + task_layer_key.lower() + ".blend"
set_local_task_layers([task_layer_key]) set_local_task_layers([task_layer_key])
self._task_layer_collections_set(context, self._asset_pipe.asset_collection)
task_layer_file = os.path.join(asset_directory, name) task_layer_file = os.path.join(asset_directory, name)
bpy.ops.wm.save_as_mainfile(filepath=task_layer_file, copy=True) bpy.ops.wm.save_as_mainfile(filepath=task_layer_file, copy=True)