[Bf-blender-cvs] [128ca8c7f65] master: Fix T90551: Dopesheet displays keyframes differently.

Jeroen Bakker noreply at git.blender.org
Tue Aug 10 08:44:10 CEST 2021


Commit: 128ca8c7f6508648d1ae33bb1d1a31e0e3e10e3b
Author: Jeroen Bakker
Date:   Tue Aug 10 08:42:06 2021 +0200
Branches: master
https://developer.blender.org/rB128ca8c7f6508648d1ae33bb1d1a31e0e3e10e3b

Fix T90551: Dopesheet displays keyframes differently.

Regression introduced by {rB73b047bcd431}. Missing a check when
converting the file to use LISTBASE_FOREACH.

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

M	source/blender/editors/animation/keyframes_keylist.cc

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

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);
     }
   }



More information about the Bf-blender-cvs mailing list