Page MenuHome

Fix: Segmentation fault when reordering animation channels
ClosedPublic

Authored by Maxime Casas (troopy28) on Jun 10 2021, 2:57 PM.

Details

Summary

This patch provides a fix to T89033.

Under some specific conditions, the list "act->curves" is empty in the "join_groups_action_temp" function. In particular, this happens when a scene contains an action that has not been pushed down, and with no keyframe in it.

This patch solves this issue by simply ensuring that this list is empty before doing the operations with it.

Diff Detail

Repository
rB Blender
Branch
arcpatch-D11569 (branched from master)
Build Status
Buildable 15137
Build 15137: arc lint + arc unit

Event Timeline

Maxime Casas (troopy28) requested review of this revision.Jun 10 2021, 2:57 PM
Maxime Casas (troopy28) created this revision.
source/blender/editors/animation/anim_channels_edit.c
1352–1353

This doesn't adhere to the code style, be sure to configure your IDE to use Clang-Format or run make format before submitting your patch. I'll address this when landing the patch.

This revision is now accepted and ready to land.Jun 11 2021, 4:25 PM