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

View File

@ -40,6 +40,7 @@ def transfer_vertex_group(
target_obj.vertex_groups.remove(target_obj.vertex_groups.get(vertex_group_name))
source_obj.vertex_groups.active = source_obj.vertex_groups[vertex_group_name]
# TODO Debug crashing / use context.temp_override(object=obj) style
override = context.copy()
override["selected_editable_objects"] = [target_obj, source_obj]
override["active_object"] = source_obj
@ -432,6 +433,8 @@ def transfer_shape_key(
sk_target.relative_key = target_obj.data.shape_keys.key_blocks[
sk_source.relative_key.name
]
# TODO DEBUG COTNEXT OVERRIDE ISSUE HERE TO RE-ORDER ITEMS
# TODO Only move relative keys to the top
shape_key_active_move(context, target_obj, shape_key_name)
bm_source = bmesh.new()