From 8a451e49e51a3800455d25071374ea6702140626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 3 Jul 2016 14:30:52 +0200 Subject: [PATCH] Revert "Fixed the order of events called by _input, closes #4384" This reverts commit 299b0102f028881ac6acbfabd5208c4f8f3f2da9. --- scene/main/viewport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 2836d7916ec..344478e48cd 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -2257,8 +2257,8 @@ void Viewport::input(const InputEvent& p_event) { ERR_FAIL_COND(!is_inside_tree()); - _gui_input_event(p_event); get_tree()->_call_input_pause(input_group,"_input",p_event); + _gui_input_event(p_event); //get_tree()->call_group(SceneTree::GROUP_CALL_REVERSE|SceneTree::GROUP_CALL_REALTIME|SceneTree::GROUP_CALL_MULIILEVEL,gui_input_group,"_gui_input",p_event); //special one for GUI, as controls use their own process check }