Fix for undefined "index" in key.c.

Probably forgotten to be remaned to defgrp_index after
recent commit here.
This commit is contained in:
2011-06-30 07:35:41 +00:00
parent 66b565a376
commit 85dc00e254

View File

@@ -1030,7 +1030,7 @@ static float *get_weights_array(Object *ob, char *vgroup)
/* find the group (weak loop-in-loop) */
defgrp_index= defgroup_name_index(ob, vgroup);
if(index >= 0) {
if(defgrp_index >= 0) {
float *weights;
int i, j;