diff options
author | homer666 <homer666@users.noreply.github.com> | 2019-04-18 14:36:28 +1000 |
---|---|---|
committer | homer666 <homer666@users.noreply.github.com> | 2019-04-18 14:43:48 +1000 |
commit | 659162ab98ec3f2ddd39934ce05008ef7b842a03 (patch) | |
tree | 1f6d3b65bd72bb5d71ee0ad63cc900d64c6281ae | |
parent | cea49f00c380c404a45d9b002843969f164d382e (diff) |
Fix AnimationPlayer snap mode dropdown behaviour
-rw-r--r-- | editor/animation_track_editor.cpp | 4 |
1 files 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<Animation> &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<Animation> &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); } } |