فهرست منبع

Merge pull request #86718 from TokageItLab/audio-cache-fix

[4.2] Fix Audio track crossfade in AnimationPlayer does not work
Yuri Sizov 1 سال پیش
والد
کامیت
24c0d26af1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      scene/animation/animation_player.cpp

+ 1 - 1
scene/animation/animation_player.cpp

@@ -412,7 +412,7 @@ void AnimationPlayer::play(const StringName &p_name, double p_custom_blend, floa
 	}
 
 	if (get_current_animation() != p_name) {
-		_clear_caches();
+		_clear_playing_caches();
 	}
 
 	c.current.from = &animation_set[name];