diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-14 17:57:14 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-14 18:02:46 +0300 |
commit | d0055155e86c75c7e3f6e15fc045f7a2d85f85ae (patch) | |
tree | dc2491deb8e732e94d7b4f7f9f128d101b906c8a /source/blender/editors/animation | |
parent | 342593f1248c739a9f30c005ae710b9b9c7d0877 (diff) |
Fix T54319: Crash after double-clicking baked F-curve
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_channels_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c index 4d68053fbc8..e9ab949dc95 100644 --- a/source/blender/editors/animation/anim_channels_edit.c +++ b/source/blender/editors/animation/anim_channels_edit.c @@ -3085,7 +3085,7 @@ static bool select_anim_channel_keys(bAnimContext *ac, int channel_index, bool e for (ale = anim_data.first; ale; ale = ale->next) { FCurve *fcu_inner = (FCurve *)ale->key_data; - if (fcu_inner) { + if (fcu_inner != NULL && fcu_inner->bezt != NULL) { for (i = 0, bezt = fcu_inner->bezt; i < fcu_inner->totvert; i++, bezt++) { bezt->f2 = bezt->f1 = bezt->f3 = 0; } |