Blender Git Loki

Git Commits -> Revision cd137f2

Revision cd137f2 by Joshua Leung (master)
January 20, 2008, 02:55 (GMT)
== Bone Groups ==

I'm committing some work-in-progress code for "bone groups" now, as I there have been are some major bugs caused by the timeoffset stuff (some of my test files were not loading, and other files were showing all sorts of weird problems).

Anyway, in this commit, the following things for "bone groups" have been done:
* Bone groups are stored per armature (internally, this is per bPose block)
* Added controls for editing bone-groups per armature - "add", "remove", "rename". These can be found in the "Links and Materials" panel in PoseMode, beside the settings for PoseLib.
* Reorganised buttons for editing selected bones in PoseMode. I've replaced the "dist" and "weight" buttons (they existed in EditMode anyway) with a menu to choose the bone-group and the custom-shape-ob field. In the place of the old custom-shape-ob field, I've restored the "Hide" button. This might break muscle-memory a bit, but there isn't a lot of space to play with there.

Some stuff I'd been originally planning to do before committing:
* When adding keyframes for bones, an action-group with the same name as the bone's group will be added to the action, and the action-channel will be made a member of that.
* New action/bone groups have unique names (renaming/adding new should check if name exists before assigning it)
* There's a setting under Bone-Groups stuff which sets which custom-colour set is used to colour that group's bones. Currently, this is non-functional, as the necessary drawing code for armatures is not in place yet.

Commit Details:

Full Hash: cd137f28985cd0a7d730f9feb4cdecf50ca4072f
SVN Revision: 13302
Parent Commit: e3b202d
Lines Changed: +190, -52

13 Modified Paths:

/source/blender/blenkernel/BKE_action.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+24, -13) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+4, -6) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+5, -0) (Diff)
/source/blender/include/BIF_editaction.h (+2, -0) (Diff)
/source/blender/include/butspace.h (+5, -0) (Diff)
/source/blender/makesdna/DNA_action_types.h (+9, -2) (Diff)
/source/blender/src/buttons_editing.c (+128, -21) (Diff)
/source/blender/src/drawaction.c (+1, -0) (Diff)
/source/blender/src/drawarmature.c (+3, -6) (Diff)
/source/blender/src/drawipo.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021