Refactor: combine insert_keyframe() and insert_key_rna() into a single function #122053

Merged
Nathan Vegdahl merged 49 commits from nathanvegdahl/blender:combine_keying_functions into main 2024-06-11 16:43:08 +02:00
Showing only changes of commit d1fd4cd37c - Show all commits

View File

@ -168,6 +168,7 @@ const std::optional<StringRefNull> default_channel_group_for_path(
{
if (animated_struct->type == &RNA_PoseBone) {
bPoseChannel *pose_channel = static_cast<bPoseChannel *>(animated_struct->data);
BLI_assert(pose_channel->name != nullptr);
return pose_channel->name;
}