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 5bf4edbdca - Show all commits

View File

@ -330,10 +330,10 @@ def shape_key_set_active(obj, shape_key_name):
obj.active_shape_key_index = index obj.active_shape_key_index = index
def shape_key_active_move(context, obj, shape_key_name, top=True): def shape_key_move(context, obj, shape_key_name, top=True):
move_type = "TOP" if top else "BOTTOM" move_type = "TOP" if top else "BOTTOM"
shape_key_set_active(obj, shape_key_name) shape_key_set_active(obj, shape_key_name)
with context.temp_override(active_object=obj, object=obj): with context.temp_override(object=obj):
bpy.ops.object.shape_key_move(type=move_type) bpy.ops.object.shape_key_move(type=move_type)