From f0d59d268ebbfde17e3cd3385d8a1b3b8b78d288 Mon Sep 17 00:00:00 2001 From: Silc Renew Date: Thu, 8 Dec 2022 20:37:02 +0900 Subject: [PATCH] Remove AnimationTree implicitly volume overwrite AudioStreamPlayer --- scene/animation/animation_tree.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp index c2d584b52fc1..a6bba955d9ca 100644 --- a/scene/animation/animation_tree.cpp +++ b/scene/animation/animation_tree.cpp @@ -1539,8 +1539,6 @@ void AnimationTree::_process_graph(double p_delta) { } } - real_t db = Math::linear_to_db(MAX(blend, 0.00001)); - t->object->call(SNAME("set_volume_db"), db); } break; case Animation::TYPE_ANIMATION: { TrackCacheAnimation *t = static_cast(track);