[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11991] trunk/blender/source/blender/src/ editipo.c: IPO Copy/Paste Bugfix:

Joshua Leung aligorith at gmail.com
Mon Sep 10 14:12:38 CEST 2007


Revision: 11991
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11991
Author:   aligorith
Date:     2007-09-10 14:12:38 +0200 (Mon, 10 Sep 2007)

Log Message:
-----------
IPO Copy/Paste Bugfix:

This commit fixes two minor mistakes made in the previous commit for this:
* forgot to advance to next ipo curve from buffer
* handles on the curves that got data pasted were not recalculated (those from the buffer were instead!)

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-09-10 10:47:09 UTC (rev 11990)
+++ trunk/blender/source/blender/src/editipo.c	2007-09-10 12:12:38 UTC (rev 11991)
@@ -4188,7 +4188,11 @@
 						src->vec[1][0] -= offset;
 						src->vec[2][0] -= offset;
 						
-						calchandles_ipocurve(icu);
+						/* recalculate handles of curve that data was pasted into */
+						calchandles_ipocurve(ei->icu);
+						
+						/* advance to next copy/paste buffer ipo-curve */
+						icu= icu->next;
 					}
 				}
 				





More information about the Bf-blender-cvs mailing list