Skip to content

Commit

Permalink
Merge pull request #22817 from DualMatrix/animation_group
Browse files Browse the repository at this point in the history
Made AnimationPlayer track groups update after changing path
  • Loading branch information
reduz authored Nov 1, 2018
2 parents 91e5782 + e99f161 commit 0e27af2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions editor/animation_track_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0e27af2

Please sign in to comment.