diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-18 18:24:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-18 18:24:45 +0400 |
commit | 193e77cc673e6836525ab1a0bad0ff5491e04d23 (patch) | |
tree | ef97381949b0b9bfd5156158d001d0e0a6c51248 /source/blender/editors/space_graph/graph_utils.c | |
parent | e8630bdccf545f6945b0f64db588168e69cc91a7 (diff) |
Fix T40201: Keyframe edits fail to update the viewport
Diffstat (limited to 'source/blender/editors/space_graph/graph_utils.c')
-rw-r--r-- | source/blender/editors/space_graph/graph_utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_graph/graph_utils.c b/source/blender/editors/space_graph/graph_utils.c index 07a582f7556..e9c8ae95acd 100644 --- a/source/blender/editors/space_graph/graph_utils.c +++ b/source/blender/editors/space_graph/graph_utils.c @@ -78,7 +78,7 @@ bAnimListElem *get_active_fcurve_channel(bAnimContext *ac) /* remove first item from list, then free the rest of the list and return the stored one */ BLI_remlink(&anim_data, ale); - BLI_freelistN(&anim_data); + ANIM_animdata_freelist(&anim_data); return ale; } @@ -135,7 +135,7 @@ int graphop_visible_keyframes_poll(bContext *C) } /* cleanup and return findings */ - BLI_freelistN(&anim_data); + ANIM_animdata_freelist(&anim_data); return found; } @@ -185,7 +185,7 @@ int graphop_editable_keyframes_poll(bContext *C) } /* cleanup and return findings */ - BLI_freelistN(&anim_data); + ANIM_animdata_freelist(&anim_data); return found; } @@ -251,7 +251,7 @@ int graphop_selected_fcurve_poll(bContext *C) return 0; /* cleanup and return findings */ - BLI_freelistN(&anim_data); + ANIM_animdata_freelist(&anim_data); return 1; } |