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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-18 19:21:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-18 19:21:23 +0300
commit13f28b6fa4dfe933231213d0a0920bf9fbd2e205 (patch)
treee6b808f0f108ab5c49a86062060a78e8e61f1441 /source/blender/blenkernel/intern/deform.c
parent8cf6b390e3888c77265b9b34740fb52599a96d7f (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/blenkernel/intern/deform.c')
-rw-r--r--source/blender/blenkernel/intern/deform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/deform.c b/source/blender/blenkernel/intern/deform.c
index c4d5f4952b6..38d4d722a46 100644
--- a/source/blender/blenkernel/intern/deform.c
+++ b/source/blender/blenkernel/intern/deform.c
@@ -166,6 +166,8 @@ int get_defgroup_num (Object *ob, bDeformGroup *dg)
* (this number is stored in the deform
* weights of the deform verts to link them
* to this deform group).
+ *
+ * note: this is zero based, ob->actdef starts at 1.
*/
bDeformGroup *eg;