From c765e6cbb66bddce81f90c18d1bc9384e4289d92 Mon Sep 17 00:00:00 2001 From: Per Lindstrand Date: Sun, 9 Nov 2025 00:01:29 +0100 Subject: [PATCH] Fix custom audio track blend flag on reimport --- scene/resources/animation.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp index f29ce142fdd..3370916f26e 100644 --- a/scene/resources/animation.cpp +++ b/scene/resources/animation.cpp @@ -3951,6 +3951,9 @@ void Animation::copy_track(int p_track, Ref p_to_animation) { if (track_get_type(p_track) == TYPE_VALUE) { p_to_animation->value_track_set_update_mode(dst_track, value_track_get_update_mode(p_track)); } + if (track_get_type(p_track) == TYPE_AUDIO) { + p_to_animation->audio_track_set_use_blend(dst_track, audio_track_is_use_blend(p_track)); + } for (int i = 0; i < track_get_key_count(p_track); i++) { p_to_animation->track_insert_key(dst_track, track_get_key_time(p_track, i), track_get_key_value(p_track, i), track_get_key_transition(p_track, i));