[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27275] trunk/blender/source/blender/ editors/space_graph/graph_edit.c: Bugfix #21434: 'Ghost' for Rotation F-curves was not taking unit conversions into account, so the ghost curves were calculated+stored wrong

Joshua Leung aligorith at gmail.com
Fri Mar 5 12:35:15 CET 2010


Revision: 27275
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27275
Author:   aligorith
Date:     2010-03-05 12:35:15 +0100 (Fri, 05 Mar 2010)

Log Message:
-----------
Bugfix #21434: 'Ghost' for Rotation F-curves was not taking unit conversions into account, so the ghost curves were calculated+stored wrong

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_graph/graph_edit.c

Modified: trunk/blender/source/blender/editors/space_graph/graph_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/graph_edit.c	2010-03-05 10:37:55 UTC (rev 27274)
+++ trunk/blender/source/blender/editors/space_graph/graph_edit.c	2010-03-05 11:35:15 UTC (rev 27275)
@@ -307,7 +307,7 @@
 			float cfrae= BKE_nla_tweakedit_remap(adt, cfra, NLATIME_CONVERT_UNMAP);
 			
 			fpt->vec[0]= cfrae;
-			fpt->vec[1]= fcurve_samplingcb_evalcurve(fcu, NULL, cfrae);
+			fpt->vec[1]= fcurve_samplingcb_evalcurve(fcu, NULL, cfrae) * unitFac;
 		}
 		
 		/* set color of ghost curve 





More information about the Bf-blender-cvs mailing list