diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-18 18:24:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-18 18:24:45 +0400 |
commit | 193e77cc673e6836525ab1a0bad0ff5491e04d23 (patch) | |
tree | ef97381949b0b9bfd5156158d001d0e0a6c51248 /source/blender/editors/animation/keyframes_general.c | |
parent | e8630bdccf545f6945b0f64db588168e69cc91a7 (diff) |
Fix T40201: Keyframe edits fail to update the viewport
Diffstat (limited to 'source/blender/editors/animation/keyframes_general.c')
-rw-r--r-- | source/blender/editors/animation/keyframes_general.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/animation/keyframes_general.c b/source/blender/editors/animation/keyframes_general.c index c610595c4ba..07a1a7e6b30 100644 --- a/source/blender/editors/animation/keyframes_general.c +++ b/source/blender/editors/animation/keyframes_general.c @@ -857,6 +857,8 @@ short paste_animedit_keys(bAnimContext *ac, ListBase *anim_data, totmatch++; paste_animedit_keys_fcurve(fcu, aci, offset, merge_mode); } + + ale->update |= ANIM_UPDATE_DEFAULT; } /* don't continue if some fcurves were pasted */ @@ -865,6 +867,8 @@ short paste_animedit_keys(bAnimContext *ac, ListBase *anim_data, } } + ANIM_animdata_update(ac, anim_data); + return 0; } |