From 659162ab98ec3f2ddd39934ce05008ef7b842a03 Mon Sep 17 00:00:00 2001 From: homer666 Date: Thu, 18 Apr 2019 14:36:28 +1000 Subject: Fix AnimationPlayer snap mode dropdown behaviour --- editor/animation_track_editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 39c93fa785..9f6fa74dd3 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -2540,7 +2540,7 @@ void AnimationTrackEditor::set_animation(const Ref &p_anim) { step->set_block_signals(false); step->set_read_only(false); snap->set_disabled(false); - snap_mode->set_disabled(true); + snap_mode->set_disabled(false); } else { hscroll->hide(); edit->set_disabled(true); @@ -2549,7 +2549,7 @@ void AnimationTrackEditor::set_animation(const Ref &p_anim) { step->set_block_signals(false); step->set_read_only(true); snap->set_disabled(true); - snap_mode->set_disabled(false); + snap_mode->set_disabled(true); } } -- cgit v1.2.3