Fix #106998: selection of bones in grease pencil weightpaint mode fails #107076

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:106998 into main 2023-04-19 09:13:34 +02:00

1 Commits

Author SHA1 Message Date
Philipp Oeser a468296482 Fix #106998: selection of bones in grease pencil weightpaint mode fails
Caused by 2eeec49640.

Above commit would early out when falling through the specialized
greasepencil selection operator to view3d_select_exec. But in order to
select posebones in grease pencil weightpaint mode, we still have to
continue with view3d_select_exec.

Now check this special case [with convenient
`BKE_object_pose_armature_get_with_wpaint_check`] and DONT early out in
that case.

Should go into 3.3 LTS as well.
2023-04-18 14:31:12 +02:00