[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13175] trunk/blender/source/blender/src/ editaction.c: == Action Editor - Sample Keyframes Bugfix ==
Joshua Leung
aligorith at gmail.com
Wed Jan 9 00:32:14 CET 2008
Revision: 13175
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13175
Author: aligorith
Date: 2008-01-09 00:32:13 +0100 (Wed, 09 Jan 2008)
Log Message:
-----------
== Action Editor - Sample Keyframes Bugfix ==
Improved the behaviour of this tool. Now it works correctly in nearly all cases (x----x----o---x----x situations don't completely work yet though).
Modified Paths:
--------------
trunk/blender/source/blender/src/editaction.c
Modified: trunk/blender/source/blender/src/editaction.c
===================================================================
--- trunk/blender/source/blender/src/editaction.c 2008-01-08 23:11:32 UTC (rev 13174)
+++ trunk/blender/source/blender/src/editaction.c 2008-01-08 23:32:13 UTC (rev 13175)
@@ -1206,8 +1206,8 @@
}
/* as we added keyframes, we need to compensate so that bezt is at the right place */
- bezt = icu->bezt + i + range;
- i += range;
+ bezt = icu->bezt + i + range - 1;
+ i += (range - 1);
/* bezt was selected, so it now marks the start of a whole new chain to search */
start= bezt;
More information about the Bf-blender-cvs
mailing list