diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-18 13:00:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-18 13:00:37 +0200 |
commit | 8f6e548ab03a0eca157b2f9f3a549c8dd4ebdc14 (patch) | |
tree | 92e0cd9b4ec9d8eb2e5911f3e44f9a4152da2105 | |
parent | 6697fd9a05859914fc320b4b4321fd9fb6170f71 (diff) | |
parent | 659162ab98ec3f2ddd39934ce05008ef7b842a03 (diff) |
Merge pull request #28150 from homer666/animationplayer-snap-mode-disable
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); } } |