summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorKodi <christopher.willis82@gmail.com>2021-12-23 07:53:36 -0500
committerKodi <christopher.willis82@gmail.com>2021-12-23 07:53:36 -0500
commit51db86d7895db95c1be2562b0a48dc75b520c77d (patch)
tree369d8493de33bb8edd45349652399b18059d31ba /scene/resources
parent54d89f2274328cbf0fd63ad01c0a203c9b0f5c62 (diff)
add missing emit_changed() to set update mode function
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/animation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp
index 255d0ececd..a779275ce9 100644
--- a/scene/resources/animation.cpp
+++ b/scene/resources/animation.cpp
@@ -2715,6 +2715,7 @@ void Animation::value_track_set_update_mode(int p_track, UpdateMode p_mode) {
ValueTrack *vt = static_cast<ValueTrack *>(t);
vt->update_mode = p_mode;
+ emit_changed();
}
Animation::UpdateMode Animation::value_track_get_update_mode(int p_track) const {