diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-08-10 09:42:06 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-08-10 09:42:06 +0300 |
commit | 128ca8c7f6508648d1ae33bb1d1a31e0e3e10e3b (patch) | |
tree | 6a5073c8ab82ed3bc2d2a2c9b90bd7aaf42ee23b /source/blender/editors/animation/keyframes_keylist.cc | |
parent | 692e926b1876aeb0aa789f5fa21caf525da1690e (diff) |
Fix T90551: Dopesheet displays keyframes differently.
Regression introduced by {rB73b047bcd431}. Missing a check when
converting the file to use LISTBASE_FOREACH.
Diffstat (limited to 'source/blender/editors/animation/keyframes_keylist.cc')
-rw-r--r-- | source/blender/editors/animation/keyframes_keylist.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/animation/keyframes_keylist.cc b/source/blender/editors/animation/keyframes_keylist.cc index 916d7de0635..f6ade11a517 100644 --- a/source/blender/editors/animation/keyframes_keylist.cc +++ b/source/blender/editors/animation/keyframes_keylist.cc @@ -821,6 +821,9 @@ void agroup_to_keylist(AnimData *adt, if (agrp) { /* loop through F-Curves */ LISTBASE_FOREACH (FCurve *, fcu, &agrp->channels) { + if (fcu->grp != agrp) { + break; + } fcurve_to_keylist(adt, fcu, keylist, saction_flag); } } |