From 63c636518f583251aa78fe333d77fb7e0d10b2ef Mon Sep 17 00:00:00 2001 From: Antonioya Date: Wed, 19 Sep 2018 16:46:56 +0200 Subject: GP: Fix copy frame error in dopesheet --- source/blender/editors/animation/anim_deps.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/editors/animation/anim_deps.c') 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; -- cgit v1.2.3