diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-12-06 12:37:31 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-12-06 12:37:31 +0300 |
commit | ba0981031ae20f1cda43a2491f6347295b6a17d2 (patch) | |
tree | 1b24101b9721a9bc8c2680c35da5a491968bf07f /source/blender/editors/space_graph | |
parent | f08e8af0b9568798bd2f59daf1b83dd0f7204ced (diff) |
Assorted warning and comment fixes
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_edit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index 9cf1f57c65f..db50ad983da 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -793,13 +793,14 @@ static void delete_graph_keys (bAnimContext *ac) /* loop through filtered data and delete selected keys */ for (ale= anim_data.first; ale; ale= ale->next) { FCurve *fcu= (FCurve *)ale->key_data; + AnimData *adt= ale->adt; /* delete selected keyframes only */ delete_fcurve_keys(fcu); /* Only delete curve too if it won't be doing anything anymore */ if ((fcu->totvert == 0) && (list_has_suitable_fmodifier(&fcu->modifiers, 0, FMI_TYPE_GENERATE_CURVE) == 0)) - ANIM_fcurve_delete_from_animdata(ac, ale->adt, fcu); + ANIM_fcurve_delete_from_animdata(ac, adt, fcu); } /* free filtered list */ |