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:
authorAntonioya <blendergit@gmail.com>2018-09-19 17:46:56 +0300
committerAntonioya <blendergit@gmail.com>2018-09-19 17:47:23 +0300
commit63c636518f583251aa78fe333d77fb7e0d10b2ef (patch)
tree62f269ab60b8b2c28ba6eeb7d4161f72c8fb3340 /source/blender/editors/animation/anim_deps.c
parent09d3c907e7a26a63101117b0c6e30cec42ea0f05 (diff)
GP: Fix copy frame error in dopesheet
Diffstat (limited to 'source/blender/editors/animation/anim_deps.c')
-rw-r--r--source/blender/editors/animation/anim_deps.c4
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;