Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-01-05 01:35:19 +0300
committerJoshua Leung <aligorith@gmail.com>2007-01-05 01:35:19 +0300
commit8039ad32df87fe2e5904a993b9ea7bbc477c2c19 (patch)
tree15ac3d982243302812fbeab5eb4ec004403a7f3f /source/blender/src/header_ipo.c
parent834495b5ff37fc1f4841eeb320b928508ba31059 (diff)
A few code cleanups for the IPO cleaning stuff in an attempt to get rid
of a bug which hides all but the active ipo-curve after cleaning. The bug still remains, but I hope to have a solution soon.
Diffstat (limited to 'source/blender/src/header_ipo.c')
-rw-r--r--source/blender/src/header_ipo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/src/header_ipo.c b/source/blender/src/header_ipo.c
index f3cd38ad45d..9b9650b6e00 100644
--- a/source/blender/src/header_ipo.c
+++ b/source/blender/src/header_ipo.c
@@ -581,10 +581,7 @@ static void do_ipo_editmenu(void *arg, int event)
sethandles_ipo(HD_AUTO_ANIM);
break;
case 8: /* clean ipo */
- {
- SpaceIpo *sipo= curarea->spacedata.first;
- clean_ipo(sipo->ipo, 1);
- }
+ clean_ipo();
break;
case 9: /* smooth ipo */
smooth_ipo();