[Bf-blender-cvs] [83a94cb] master: Fix T46321: 3D view not refreshed immediatelly after pasting keyframe in dope sheet (for a single channel)

Joshua Leung noreply at git.blender.org
Thu Oct 1 07:48:00 CEST 2015


Commit: 83a94cb3f2b5257a3c78f897d27c931d7ed98dde
Author: Joshua Leung
Date:   Thu Oct 1 18:47:37 2015 +1300
Branches: master
https://developer.blender.org/rB83a94cb3f2b5257a3c78f897d27c931d7ed98dde

Fix T46321: 3D view not refreshed immediatelly after pasting keyframe in dope sheet (for a single channel)

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

M	source/blender/editors/animation/keyframes_general.c

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

diff --git a/source/blender/editors/animation/keyframes_general.c b/source/blender/editors/animation/keyframes_general.c
index 3642c07..f0d9c48 100644
--- a/source/blender/editors/animation/keyframes_general.c
+++ b/source/blender/editors/animation/keyframes_general.c
@@ -955,6 +955,7 @@ short paste_animedit_keys(bAnimContext *ac, ListBase *anim_data,
 		aci = animcopybuf.first;
 		
 		paste_animedit_keys_fcurve(fcu, aci, offset, merge_mode, false);
+		ale->update |= ANIM_UPDATE_DEFAULT;
 	}
 	else {
 		/* from selected channels




More information about the Bf-blender-cvs mailing list