diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-08-27 22:46:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-27 22:46:40 +0200 |
| commit | 9e0fbb49c12a4bb12c275194b0599fdfa0b1aabf (patch) | |
| tree | 8804d0dd24cc126087462edfbbbf73ed61b56b0e /editor/animation_editor.cpp | |
| parent | 37da8155a4500a9386027b4d791a86186bc7ab4a (diff) | |
| parent | 7ad14e7a3e6f87ddc450f7e34621eb5200808451 (diff) | |
Merge pull request #10699 from akien-mga/burn-burn-burn
Dead code tells no tales
Diffstat (limited to 'editor/animation_editor.cpp')
| -rw-r--r-- | editor/animation_editor.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/editor/animation_editor.cpp b/editor/animation_editor.cpp index 9e62d589d0..702adf0c68 100644 --- a/editor/animation_editor.cpp +++ b/editor/animation_editor.cpp @@ -38,6 +38,7 @@ #include "pair.h" #include "scene/gui/separator.h" #include "scene/main/viewport.h" + /* Missing to fix: *Set @@ -2684,17 +2685,6 @@ void AnimationKeyEditor::_track_editor_gui_input(const Ref<InputEvent> &p_input) Point2 mpos = mm->get_position() - ofs; if (mpos.y < h) { -#if 0 - //seek - //int zoomw = settings_limit-name_limit; - float scale = _get_zoom_scale(); - float pos = h_scroll->get_val() + (mpos.y-name_limit) / scale; - if (pos<0 ) - pos=0; - if (pos>=animation->get_length()) - pos=animation->get_length(); - timeline->set_val(pos); -#endif return; } |