[Bf-blender-cvs] [63c636518f5] blender2.8: GP: Fix copy frame error in dopesheet

Antonioya noreply at git.blender.org
Wed Sep 19 16:47:28 CEST 2018


Commit: 63c636518f583251aa78fe333d77fb7e0d10b2ef
Author: Antonioya
Date:   Wed Sep 19 16:46:56 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB63c636518f583251aa78fe333d77fb7e0d10b2ef

GP: Fix copy frame error in dopesheet

===================================================================

M	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;



More information about the Bf-blender-cvs mailing list