Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-01-25 12:13:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-25 12:13:06 +0300
commitc11459a563fe93f1174ec416a97c857020bded05 (patch)
tree8f48f983d192804cd396f8f9939872bb5fbd1681 /space_view3d_copy_attributes.py
parent5a3a573b95eb14306741903e86aec9ac6877c52c (diff)
fix [#25791] Copy Attributes?\191Copy Vertex Weights Subfunction?\191Doesn?\191t Work\nfrom Lawrence D'Oliveiro (ldo)
Diffstat (limited to 'space_view3d_copy_attributes.py')
-rw-r--r--space_view3d_copy_attributes.py2
1 files changed, 1 insertions, 1 deletions
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")