diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-12-07 13:50:02 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-12-07 13:50:02 +0300 |
commit | be7192c0bd161a3b4a3ef28eca60fcc12730d986 (patch) | |
tree | e3653785205be9e124e527c56e4e32d22915ab27 /source/blender/blenkernel | |
parent | 9723e3ef39d0a0c8b7a47f145c52982481109f2f (diff) |
== NLA - Scale Related Fixes ==
* Old files now get initialised with the correct scale. The wrong calculation was being used
* Added a new tool to Alt-S menu: "Apply Scale"
This tool causes all the keyframes in the active strip to be moved to their NLA-scaled times, the scale to be set to 1.0, and the frame ranges recalculated accordingly (to remove any nasty weird errors)
* Scale field now draws red when the action-range is < 1, and the tooltip in this case instructs the user how to fix this (by using "Apply Scale").
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index 7731eea3694..162ee582d74 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -443,7 +443,6 @@ static float get_actionstrip_frame(bActionStrip *strip, float cframe, int invert length = repeat * scale * actlength; /* invert = convert action-strip time to global time */ - // FIXME? if (invert) return length*(cframe - strip->actstart)/(repeat*actlength) + strip->start; else |