diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-18 19:21:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-18 19:21:23 +0300 |
commit | 13f28b6fa4dfe933231213d0a0920bf9fbd2e205 (patch) | |
tree | e6b808f0f108ab5c49a86062060a78e8e61f1441 /source/blender/editors/object/object_vgroup.c | |
parent | 8cf6b390e3888c77265b9b34740fb52599a96d7f (diff) |
revert for last commit, this should fix the proplem properly.
- selected bones on hidden layers would be selected for weight painting (confusing to the user). use the 'active' bone instead.
- when no weight group was set, the index used for the bone group was off by 1.
Diffstat (limited to 'source/blender/editors/object/object_vgroup.c')
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index a9904ee7f1e..23411d2219f 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -464,7 +464,7 @@ void ED_vgroup_select_by_name(Object *ob, char *name) } } - ob->actdef= 1; // this signals on painting to create a new one, if a bone in posemode is selected */ + ob->actdef= 0; // this signals on painting to create a new one, if a bone in posemode is selected */ } /********************** Operator Implementations *********************/ |