Asset Pipeline v2 #145
@ -8,6 +8,7 @@ def transfer_vertex_group(
|
|||||||
target_obj: bpy.types.Object,
|
target_obj: bpy.types.Object,
|
||||||
source_obj: bpy.types.Object,
|
source_obj: bpy.types.Object,
|
||||||
):
|
):
|
||||||
|
# TODO remove old vertex groups before transfer !!
|
||||||
source_obj.vertex_groups.active = source_obj.vertex_groups[vertex_group_name]
|
source_obj.vertex_groups.active = source_obj.vertex_groups[vertex_group_name]
|
||||||
override = context.copy()
|
override = context.copy()
|
||||||
override["selected_editable_objects"] = [target_obj, source_obj]
|
override["selected_editable_objects"] = [target_obj, source_obj]
|
||||||
|
Loading…
Reference in New Issue
Block a user