[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25571] trunk/blender/source/blender/ editors/transform/transform_conversions.c: Bugfix 20469: Graph Editor Keyframes jumping around with NLA strips
Joshua Leung
aligorith at gmail.com
Sun Dec 27 02:28:13 CET 2009
Revision: 25571
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25571
Author: aligorith
Date: 2009-12-27 02:28:13 +0100 (Sun, 27 Dec 2009)
Log Message:
-----------
Bugfix 20469: Graph Editor Keyframes jumping around with NLA strips
NLA corrections for Graph Editor transforms was wrong way around, causing jumping issues when trying to transform the keyframes.
Modified Paths:
--------------
trunk/blender/source/blender/editors/transform/transform_conversions.c
Modified: trunk/blender/source/blender/editors/transform/transform_conversions.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform_conversions.c 2009-12-26 20:23:13 UTC (rev 25570)
+++ trunk/blender/source/blender/editors/transform/transform_conversions.c 2009-12-27 01:28:13 UTC (rev 25571)
@@ -3326,13 +3326,13 @@
*/
if (adt) {
- td2d->loc[0] = BKE_nla_tweakedit_remap(adt, loc[0], NLATIME_CONVERT_UNMAP);
+ td2d->loc[0] = BKE_nla_tweakedit_remap(adt, loc[0], NLATIME_CONVERT_MAP);
td2d->loc[1] = loc[1];
td2d->loc[2] = 0.0f;
td2d->loc2d = loc;
td->loc = td2d->loc;
- td->center[0] = BKE_nla_tweakedit_remap(adt, cent[0], NLATIME_CONVERT_UNMAP);
+ td->center[0] = BKE_nla_tweakedit_remap(adt, cent[0], NLATIME_CONVERT_MAP);
td->center[1] = cent[1];
td->center[2] = 0.0f;
More information about the Bf-blender-cvs
mailing list