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>2009-12-06 12:37:31 +0300
committerJoshua Leung <aligorith@gmail.com>2009-12-06 12:37:31 +0300
commitba0981031ae20f1cda43a2491f6347295b6a17d2 (patch)
tree1b24101b9721a9bc8c2680c35da5a491968bf07f /source/blender/editors/space_graph
parentf08e8af0b9568798bd2f59daf1b83dd0f7204ced (diff)
Assorted warning and comment fixes
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r--source/blender/editors/space_graph/graph_edit.c3
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 */