Blender Git Loki

Git Commits -> Revision e3b49bb

Revision e3b49bb by Philipp Oeser (master)
October 2, 2020, 15:05 (GMT)
Fix T81200: Crash on certain armature select operators when OpenGL Depth
Picking is disabled

Affected were (at least)
- Select Linked pick
- Select Shortest Path

Was originally caused by rB8b347fc2cdc6 [which got improved in
rBfc8a7a44b200 - but only partially].

After removal of BONESEL_NOSEL we have to filter out -1 from the hits for
any bone picking it seems (since armature drawing uses this).
In rBfc8a7a44b200, this was done for 'ED_armature_edit_select_pick' (or
'get_nearest_editbonepoint' precisely), now do this for
'ed_armature_pick_bone_impl' as well.

Reviewers: campbellbarton

Maniphest Tasks: T81200

Differential Revision: https://developer.blender.org/D9080

Commit Details:

Full Hash: e3b49bb850018ae73088b8d4e7c195206f8b2f31
Parent Commit: 8157305
Lines Changed: +10, -2

1 Modified Path:

/source/blender/editors/armature/armature_select.c (+10, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021