From c11459a563fe93f1174ec416a97c857020bded05 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 25 Jan 2011 09:13:06 +0000 Subject: fix [#25791] Copy Attributes?\191Copy Vertex Weights Subfunction?\191Doesn?\191t Work\nfrom Lawrence D'Oliveiro (ldo) --- space_view3d_copy_attributes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'space_view3d_copy_attributes.py') diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py index 4a159398..19eb593f 100644 --- a/space_view3d_copy_attributes.py +++ b/space_view3d_copy_attributes.py @@ -418,7 +418,7 @@ def obWei(ob, active, context): groups = ob.vertex_groups for vgs in range(0, len(groups)): if groups[vgs].name == groupName: - ob.vertex_groups.assign((v.index,), groups[vgs], + groups[vgs].add((v.index,), vgroupIndex_weight[i][1], "REPLACE") return('INFO', "weights copied") -- cgit v1.2.3