[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11478] trunk/blender/source/blender/src/ editipo.c: Bugfix #6983: Incorrect behavior of cancelling transform of IPO CVs

Joshua Leung aligorith at gmail.com
Fri Aug 3 14:04:25 CEST 2007


Revision: 11478
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11478
Author:   aligorith
Date:     2007-08-03 14:04:25 +0200 (Fri, 03 Aug 2007)

Log Message:
-----------
Bugfix #6983: Incorrect behavior of cancelling transform of IPO CVs

Woops! The code was using the wrong variable in one place.

Modified Paths:
--------------
    trunk/blender/source/blender/src/editipo.c

Modified: trunk/blender/source/blender/src/editipo.c
===================================================================
--- trunk/blender/source/blender/src/editipo.c	2007-08-03 11:16:12 UTC (rev 11477)
+++ trunk/blender/source/blender/src/editipo.c	2007-08-03 12:04:25 UTC (rev 11478)
@@ -4747,7 +4747,7 @@
 		if (NLA_IPO_SCALED) {
 			tv->oldloc[0] = get_action_frame_inv(OBACT, tv->loc[0]);
 			tv->oldloc[0]-= dvec[0];
-			tv->oldloc[0] = get_action_frame(OBACT, tv->loc[0]);
+			tv->oldloc[0] = get_action_frame(OBACT, tv->oldloc[0]);
 		}
 		else {
 			tv->oldloc[0]= tv->loc[0]-dvec[0];





More information about the Bf-blender-cvs mailing list