Blender Git Commit Log
Git Commits -> Revision ab02e91
Revision ab02e91 by Joshua Leung (master) December 7, 2007, 04:24 (GMT) |
== NLA - Scale Setting for Strips == NLA-Strips now have a new setting: Scale. It determines how much the action-range is scaled for each repeat, instead of the scaling being implicitly determined based on repeats + strip-length. One of the instant benefits of this, is that when increasing the number of repeats, the strip length increases by the right amount. Thus, increasing the number of repeats retains a constant speed. Hopefully we can prevent weirdly scaled actions this way. (i.e. 0.00001 frames long action * 10000 or so) Todo: - Transform code needs to be able to set the scale setting (it doesn't yet) - Add a new option to "apply scaling", to fix up problems with old files that have really bad scaling. Situations when this is needed could get indicated in the interface too... (red background for "Scale" field?) |
Commit Details:
Full Hash: ab02e9140e6c8b1d8c9169b18fa5025a1fb54377
SVN Revision: 12812
Parent Commit: 9071558
Lines Changed: +96, -39
6 Modified Paths:
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/action.c (+8, -11) (Diff)
/source/blender/blenloader/intern/readfile.c (+26, -1) (Diff)
/source/blender/makesdna/DNA_nla_types.h (+17, -15) (Diff)
/source/blender/src/drawnla.c (+39, -7) (Diff)
/source/blender/src/editnla.c (+5, -4) (Diff)
/source/blender/blenkernel/intern/action.c (+8, -11) (Diff)
/source/blender/blenloader/intern/readfile.c (+26, -1) (Diff)
/source/blender/makesdna/DNA_nla_types.h (+17, -15) (Diff)
/source/blender/src/drawnla.c (+39, -7) (Diff)
/source/blender/src/editnla.c (+5, -4) (Diff)