[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern action.c blender/source/blender/makesdna DNA_nla_types.h blender/source/blender/src drawnla.c
Ton Roosendaal
ton at blender.org
Sat Dec 17 11:08:58 CET 2005
ton (Ton Roosendaal) 2005/12/17 11:08:57 CET
Modified files: (Branch: orange)
blender/source/blender/blenkernel/intern action.c
blender/source/blender/makesdna DNA_nla_types.h
blender/source/blender/src drawnla.c
Log:
Orange:
For some ancient reason, the stride option only worked on a single strip,
and extended always. This made it nearly impossible to integrate it well
with other actions in NLA.
This commit changes it as follows;
- As any strip, the striding-strip also stops at the end of a strip
- This allows to put multiple different actions on a single path, and if
all of these have the striding option set, the actions will each do their
own individual stride.
- To match the different actions, a new "Action Offset" button was added
in the NLA Panel, which allows to internally cycle the action.
- Of course, blend-in and blend-out works nicely too.
Here's a quick AVI test with 2 actions. There's some slipping of the feet
between actions still, because of the stridebone blending. I might look
at that later, for now you can correct it with a simple Ipo on Armature too
http://www.blender.org/bf/0007_0151.avi
Revision Changes Path
1.47.2.5 +72 -65 blender/source/blender/blenkernel/intern/action.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/action.c.diff?r1=1.47.2.4&r2=1.47.2.5&cvsroot=bf-blender>
1.9.2.2 +1 -0 blender/source/blender/makesdna/DNA_nla_types.h
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/makesdna/DNA_nla_types.h.diff?r1=1.9.2.1&r2=1.9.2.2&cvsroot=bf-blender>
1.28.2.2 +8 -8 blender/source/blender/src/drawnla.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/drawnla.c.diff?r1=1.28.2.1&r2=1.28.2.2&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list