Asset Pipeline v2 #145
@ -127,12 +127,11 @@ class ASSETPIPE_OT_create_new_asset(bpy.types.Operator):
|
||||
bpy.ops.wm.save_as_mainfile(filepath=first_file, copy=True)
|
||||
starting_file = first_file
|
||||
|
||||
# TODO Support mulitple task layers in same file
|
||||
# Create the file for each task layer.
|
||||
for task_layer_key in config.TASK_LAYER_TYPES:
|
||||
if task_layer_key == "NONE" or task_layer_key in local_tls:
|
||||
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
|
||||
for col in bpy.data.collections:
|
||||
|
Loading…
Reference in New Issue
Block a user