Blender Git Loki

Git Commits -> Revision b18608f

Revision b18608f by Campbell Barton (master)
April 3, 2020, 04:52 (GMT)
Cleanup: bone cursor picking API

There was one function to access both pose/edit bones,
which returned a void pointer type.

Split these into 3 functions which return EditBone, bPoseChannel or Bone
types.

Internally the logic is still shared, this just makes it clearer to
callers which type is expected.

Also use more conventional prefix for picking API:

- ED_armature_pick_(ebone/pchan/bone)
- ED_armature_pick_(ebone/pchan/bone)_from_selectbuffer

Commit Details:

Full Hash: b18608f3e9066407b1d8a837161ad295d7719937
Parent Commit: 09071e2
Lines Changed: +172, -49

5 Modified Paths:

/source/blender/editors/armature/armature_intern.h (+32, -8) (Diff)
/source/blender/editors/armature/armature_select.c (+129, -34) (Diff)
/source/blender/editors/armature/pose_select.c (+4, -4) (Diff)
/source/blender/editors/include/ED_armature.h (+4, -0) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021