Not naming the auto-generated vertexgroup after the selected bone was
just confusing (since the group would not have an effect), so now use
similar code that is used for meshes for greasepencil as well.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- T92314 (branched from master)
- Build Status
Buildable 17947 Build 17947: arc lint + arc unit
Event Timeline
Comment Actions
I have tested with a simple stroke without vertex groups and it crash because the stroke hasn't armatures.
| source/blender/editors/gpencil/gpencil_weight_paint.c | ||
|---|---|---|
| 270 | I have tested and there is a crash. I guess is because if you paint a stroke without any relation with an armature, the if does nothing. You would need to add: else if (gso->object) {
BKE_object_defgroup_add(gso->object);
}´´´ | |