forked from bartvdbraak/blender
fix for weight painting bug, weight painting would fail when entering weight pait mode in some cases.
This commit is contained in:
parent
9ae90efc8e
commit
8cf6b390e3
@ -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 *********************/
|
/********************** Operator Implementations *********************/
|
||||||
|
@ -196,7 +196,7 @@ typedef struct Object {
|
|||||||
|
|
||||||
float bbsize[3];
|
float bbsize[3];
|
||||||
short index; /* custom index, for renderpasses */
|
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 */
|
float col[4]; /* object color, adjusted via IPO's only */
|
||||||
/**
|
/**
|
||||||
* Settings for game objects
|
* Settings for game objects
|
||||||
|
Loading…
Reference in New Issue
Block a user