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:
authorLukas Tönne <lukas.toenne@gmail.com>2014-07-10 15:02:22 +0400
committerLukas Tönne <lukas.toenne@gmail.com>2014-07-10 15:03:05 +0400
commit19f89a083f25c2d69619cfef7df5817d86292ccd (patch)
treed28e797f05a19f6bc5c15ce23e909c6ca9a319f3 /source/blender/editors/space_graph
parent42615d88b6ebf263ecce7535591fa9f000b1f597 (diff)
Fix for invalid memory access in graph editor when deleting the last
vertex in a fcurve.
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r--source/blender/editors/space_graph/graph_edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c
index 6ed7689a6c3..1f1aac8c456 100644
--- a/source/blender/editors/space_graph/graph_edit.c
+++ b/source/blender/editors/space_graph/graph_edit.c
@@ -907,6 +907,7 @@ static bool delete_graph_keys(bAnimContext *ac)
(fcu->driver == NULL))
{
ANIM_fcurve_delete_from_animdata(ac, adt, fcu);
+ ale->key_data = NULL;
}
}