diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-09-10 16:12:38 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-09-10 16:12:38 +0400 |
commit | 0e3460dd1b6b9521f1833998b63d7753639c5339 (patch) | |
tree | 43d9c8db29bdc5025d9fe81b3361b98f206bbd07 /source/blender | |
parent | 8045d1434d6c983092e2b3cdecc6b48b43fca520 (diff) |
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!)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/src/editipo.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index 784009fcebc..85eb2ea0908 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -4188,7 +4188,11 @@ void paste_editipo(void) 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; } } |