summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2019-05-31 06:50:14 +0900
committervolzhs <volzhs@gmail.com>2019-05-31 06:50:14 +0900
commitfe98a31743ef7c453a13ce14d2d31c1b1c5de919 (patch)
tree61c63a0d18e754a9355db6c9dc45e608b7e97c81
parente16e5012ca39d792857e92fd4e64c5e00a5f8620 (diff)
Sync Animation editor with Inspector
-rw-r--r--editor/animation_track_editor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index 2ce378fca3..7dadbf88fb 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;
}