From fe98a31743ef7c453a13ce14d2d31c1b1c5de919 Mon Sep 17 00:00:00 2001 From: volzhs Date: Fri, 31 May 2019 06:50:14 +0900 Subject: [PATCH] Sync Animation editor with Inspector --- editor/animation_track_editor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 2ce378fca38..7dadbf88fb2 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -3633,6 +3633,9 @@ void AnimationTrackEditor::_animation_update() { bezier_edit->update(); _update_step_spinbox(); + emit_signal("animation_step_changed", animation->get_step()); + emit_signal("animation_len_changed", animation->get_length()); + EditorNode::get_singleton()->get_inspector()->refresh(); animation_changing_awaiting_update = false; }