Blender Git Loki

Git Commits -> Revision 5e77ff7

Revision 5e77ff7 by Sebastian Parborg (master)
April 8, 2021, 15:26 (GMT)
Add ability to get a selection list of bones

This adds the ability to get a selection list for both edit mode bones
and pose mode bones.

To do this the selection menu list logic had to be reworked a bit.
Before it only stored the names of objects. This might work will of
objects, however as stated in the code, it might fail for linked objects
(so multiple object can have the same name in some corner cases).

For bones it is a very common occurance where you can have multiple
armature that has the same bone names. So now it also stores the object
and bone pointers for this case.

Reviewed By: Sybren

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

Fix T85796

Commit Details:

Full Hash: 5e77ff79ccdaffb2df4d54c97f17359c017c9b85
Parent Commit: 5c4d24e
Lines Changed: +477, -188

6 Modified Paths:

/source/blender/editors/armature/armature_select.c (+109, -95) (Diff)
/source/blender/editors/armature/pose_select.c (+101, -85) (Diff)
/source/blender/editors/include/ED_armature.h (+14, -0) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+251, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021