fix for weight painting bug, weight painting would fail when entering weight pait mode in some cases.

This commit is contained in:
Campbell Barton 2010-01-18 15:33:43 +00:00
parent 9ae90efc8e
commit 8cf6b390e3
2 changed files with 2 additions and 2 deletions

@ -464,7 +464,7 @@ void ED_vgroup_select_by_name(Object *ob, char *name)
}
}
ob->actdef=0; // this signals on painting to create a new one, if a bone in posemode is selected */
ob->actdef= 1; // this signals on painting to create a new one, if a bone in posemode is selected */
}
/********************** Operator Implementations *********************/

@ -196,7 +196,7 @@ typedef struct Object {
float bbsize[3];
short index; /* custom index, for renderpasses */
unsigned short actdef; /* current deformation group */
unsigned short actdef; /* current deformation group, note: index starts at 1 */
float col[4]; /* object color, adjusted via IPO's only */
/**
* Settings for game objects