summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editor/animation_track_editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index 0ba45a596e..662137d60d 100644
--- a/editor/animation_track_editor.cpp
+++ b/editor/animation_track_editor.cpp
@@ -4066,7 +4066,9 @@ void AnimationTrackEditor::_move_selection_commit() {
undo_redo->add_undo_method(this, "_select_at_anim", animation, E->key().track, oldpos);
}
+ block_animation_update = true; //animation will change and this is triggered from a signal, so block updates
undo_redo->commit_action();
+ block_animation_update = false;
moving_selection = false;
for (int i = 0; i < track_edits.size(); i++) {