Fix #115276: Vertex group canvas picker errors with no active group #115666

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:115276 into main 2023-12-01 17:55:37 +01:00

1 Commits

Author SHA1 Message Date
Philipp Oeser c3a34d7665 Fix #115276: Vertex group canvas picker errors with no active group
While in weight paint mode, `ob.vertex_groups.active` can be None.
This happens when selecting a non-deforming bone, or a deforming bone
that doesn't have a group yet.

Now check for this.
2023-12-01 13:21:44 +01:00