diff options
author | Pip <dozingpip@gmail.com> | 2021-09-06 03:11:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 03:11:02 -0400 |
commit | d7a6f8990a4f2dad19a12cfbb26f5674ab1b70d0 (patch) | |
tree | bdfc8ba3359d34e80449966fdec98092bab95fb1 | |
parent | c6f6c05a521c407870cfa3a979044fdc0e483ff0 (diff) |
Remove dead code from Viewport::_gui_input_event
-rw-r--r-- | scene/main/viewport.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 8ec8c193fb..825d9489a6 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -1420,13 +1420,6 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) { //do not steal mouse focus and stuff while a focus mask exists gui.mouse_focus_mask |= 1 << (mb->get_button_index() - 1); //add the button to the mask } else { - bool is_handled = false; - - if (is_handled) { - set_input_as_handled(); - return; - } - //Matrix32 parent_xform; /* |