summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDualMatrix <piet.goris@gmail.com>2018-10-07 01:36:21 +0200
committerDualMatrix <piet.goris@gmail.com>2018-10-07 01:36:21 +0200
commite99f16153eb9ecfba65219190783b5e2714cf50d (patch)
tree910372428d17577f1e9864780d3de8e63448ec0b
parent8068d0217a5e74c25f83fe93fa6e077b8d0b3bf5 (diff)
Made AnimationPlayer track groups update after changing path
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 77be561477..60961e8ebb 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 {