summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-11-01 20:05:49 -0300
committerGitHub <noreply@github.com>2018-11-01 20:05:49 -0300
commit0e27af280c0c1481f9a21dbad82ed945bb947c28 (patch)
tree458f4143dba9269b71db734428042755a8baa187
parent91e57827955ce5d9e49333b67c8179bc17e0a324 (diff)
parente99f16153eb9ecfba65219190783b5e2714cf50d (diff)
Merge pull request #22817 from DualMatrix/animation_group
Made AnimationPlayer track groups update after changing path
-rw-r--r--editor/animation_track_editor.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index 3997469e95..37d26d8e0f 100644
--- a/editor/animation_track_editor.cpp
+++ b/editor/animation_track_editor.cpp
@@ -1685,15 +1685,10 @@ void AnimationTrackEdit::_zoom_changed() {
}
void AnimationTrackEdit::_path_entered(const String &p_text) {
-
- *block_animation_update_ptr = true;
undo_redo->create_action("Change Track Path");
undo_redo->add_do_method(animation.ptr(), "track_set_path", track, p_text);
undo_redo->add_undo_method(animation.ptr(), "track_set_path", track, animation->track_get_path(track));
undo_redo->commit_action();
- *block_animation_update_ptr = false;
- update();
- path->hide();
}
String AnimationTrackEdit::get_tooltip(const Point2 &p_pos) const {