From b4be27a68b15ae9fdd53f85f00a4aa0d42f6da59 Mon Sep 17 00:00:00 2001 From: Kodi Date: Thu, 23 Dec 2021 07:53:36 -0500 Subject: [PATCH] add missing emit_changed() to set update mode function (cherry picked from commit 51db86d7895db95c1be2562b0a48dc75b520c77d) --- scene/resources/animation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp index d32331e8cbb..8aa41ca7cfd 100644 --- a/scene/resources/animation.cpp +++ b/scene/resources/animation.cpp @@ -1870,6 +1870,7 @@ void Animation::value_track_set_update_mode(int p_track, UpdateMode p_mode) { ValueTrack *vt = static_cast(t); vt->update_mode = p_mode; + emit_changed(); } Animation::UpdateMode Animation::value_track_get_update_mode(int p_track) const {