Revert "Fixed the order of events called by _input, closes #4384"

This reverts commit 299b0102f0.
This commit is contained in:
Rémi Verschelde 2016-07-03 14:30:52 +02:00
parent b0aab53853
commit 8a451e49e5
1 changed files with 1 additions and 1 deletions

View File

@ -2257,8 +2257,8 @@ void Viewport::input(const InputEvent& p_event) {
ERR_FAIL_COND(!is_inside_tree()); ERR_FAIL_COND(!is_inside_tree());
_gui_input_event(p_event);
get_tree()->_call_input_pause(input_group,"_input",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 //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
} }