Fix for undefined "index" in key.c.
Probably forgotten to be remaned to defgrp_index after recent commit here.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user