Skip to content
Snippets Groups Projects
Commit c11459a5 authored by Campbell Barton's avatar Campbell Barton
Browse files

fix [#25791] Copy Attributes?\191Copy Vertex Weights...

fix [#25791] Copy Attributes?\191Copy Vertex Weights Subfunction?\191Doesn?\191t Work\nfrom  Lawrence D'Oliveiro (ldo)
parent 5a3a573b
Branches
No related tags found
No related merge requests found
...@@ -418,7 +418,7 @@ def obWei(ob, active, context): ...@@ -418,7 +418,7 @@ def obWei(ob, active, context):
groups = ob.vertex_groups groups = ob.vertex_groups
for vgs in range(0, len(groups)): for vgs in range(0, len(groups)):
if groups[vgs].name == groupName: if groups[vgs].name == groupName:
ob.vertex_groups.assign((v.index,), groups[vgs], groups[vgs].add((v.index,),
vgroupIndex_weight[i][1], "REPLACE") vgroupIndex_weight[i][1], "REPLACE")
return('INFO', "weights copied") return('INFO', "weights copied")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment