diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-19 17:46:56 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-19 17:47:23 +0300 |
commit | 63c636518f583251aa78fe333d77fb7e0d10b2ef (patch) | |
tree | 62f269ab60b8b2c28ba6eeb7d4161f72c8fb3340 /source/blender | |
parent | 09d3c907e7a26a63101117b0c6e30cec42ea0f05 (diff) |
GP: Fix copy frame error in dopesheet
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/animation/anim_deps.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_deps.c b/source/blender/editors/animation/anim_deps.c index 898c8b6464a..bfc3caecfee 100644 --- a/source/blender/editors/animation/anim_deps.c +++ b/source/blender/editors/animation/anim_deps.c @@ -408,6 +408,10 @@ void ANIM_animdata_update(bAnimContext *ac, ListBase *anim_data) ale->update &= ~ANIM_UPDATE_DEPS; ANIM_list_elem_update(ac->bmain, ac->scene, ale); } + /* disable handles to avoid crash */ + if (ale->update & ANIM_UPDATE_HANDLES) { + ale->update &= ~ANIM_UPDATE_HANDLES; + } } else if (ale->datatype == ALE_FCURVE) { FCurve *fcu = ale->key_data; |