Blender Git Loki

Git Commits -> Revision 08eac0c

Revision 08eac0c by Bastien Montagne (master)
July 9, 2014, 08:28 (GMT)
Add bone_groups.new() and bone_groups.remove() methods to RNA.

To do so, matching BKE 'API' was also refactored a bit:
* Get Pose data instead of Object, as parameter;
* Removed some sanity checks not needed at such a low level (callers are supposed to do that);
* You can now remove an arbitrary bone group, not only the active one.

Based on patch by pkrime (Paolo Acampora), with own edits.

Reviewers: #python, pkrime, aligorith

Reviewed By: aligorith

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

Commit Details:

Full Hash: 08eac0c3675ff4baff4ad3d0aae4d5ab10a8a133
Parent Commit: 02eb03f
Lines Changed: +99, -44

4 Modified Paths:

/source/blender/blenkernel/BKE_action.h (+5, -3) (Diff)
/source/blender/blenkernel/intern/action.c (+44, -32) (Diff)
/source/blender/editors/armature/pose_group.c (+7, -7) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+43, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021