Blender Git Commit Log

Git Commits -> Revision ed376e3

Revision ed376e3 by Joshua Leung (BendyBones)
May 17, 2016, 14:28 (GMT)
Bendy Bones: Curved Bone settings in EditMode act as "Rest Pose" (Experimental)

The bendy bone settings (curve in/out, etc.) now exist on both Bone and PoseBone
levels. What this means is that the "Bone" level settings (i.e. what we had before)
are used for defining the rest pose curve for the bone (i.e. to fit things like
curved eyebrows, and so forth), while the "PoseBone" level settings (i.e. new stuff)
will be what animators play with to animate their characters.


Implementation Notes:
* All the BBone settings are now found in a new "Curved Bones" panel. This is located
just below the Transform properties panels (instead of by "Deform"), so that it's
easier to reach for animating.

The segments and ease in+out settings are still also located in the "Deform" panel.
I'm still unsure whether to remove them for good from there. For now, I've duplicated
them, to be more convenient for animation tweaking (though it might also be a bit
confusing)

* Ease In/Out is still a bone-level setting only (i.e. no posemode offsets/override).
This may be subject to change still, but more investigation will be needed first.

* Scale In/Out is handled multiplicatively. That is,
scaleIn_final = bone->scaleIn * pbone->scaleIn

* I've added a hacky "stripped down" copy of b_bone_spline_setup() for drawing
the editmode previews of these bbone settings. Whether this is the final approach
used is still open to debate. Better suggestions welcome, though this seems to be
the simplest (least overhead) solution currently.

Commit Details:

Full Hash: ed376e3595ba938caa16abfcd6724d74d1d6c6ed
Parent Commit: e62aab8
Lines Changed: +259, -80

9 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_bone.py (+45, -12) (Diff)
/source/blender/blenkernel/intern/armature.c (+16, -11) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+12, -0) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+105, -7) (Diff)
/source/blender/makesdna/DNA_action_types.h (+7, -1) (Diff)
/source/blender/makesdna/DNA_armature_types.h (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+66, -48) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021