Anim: Fix selection of summary keys of Action/Channel Groups
Fix an issue where selecting a key in the dope sheet summary line for a channel group would deselect all corresponding keys in the F-Curves of that group. It was caused by an accidental duplication of the `ChannelBag`. Pull Request: https://projects.blender.org/blender/blender/pulls/127069
This commit is contained in:
@@ -167,7 +167,7 @@ static short agrp_keyframes_loop(KeyframeEditData *ked,
|
||||
}
|
||||
|
||||
/* Layered actions. */
|
||||
animrig::ChannelBag channel_bag = agrp->channel_bag->wrap();
|
||||
animrig::ChannelBag &channel_bag = agrp->channel_bag->wrap();
|
||||
Span<FCurve *> fcurves = channel_bag.fcurves().slice(agrp->fcurve_range_start,
|
||||
agrp->fcurve_range_length);
|
||||
for (FCurve *fcurve : fcurves) {
|
||||
|
||||
Reference in New Issue
Block a user