summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2021-09-10 16:34:28 +0200
committerGitHub <noreply@github.com>2021-09-10 16:34:28 +0200
commit68563b57608ed50c2bf429770db75702598eb6bf (patch)
tree5212a0036624a667d77ae57a2a126ff364c007e9
parent8f8744a5636666e78a0683fa920fe14f03cd185f (diff)
parentd7a6f8990a4f2dad19a12cfbb26f5674ab1b70d0 (diff)
Merge pull request #52431 from dozingpip/patch-1
Remove dead code from Viewport::_gui_input_event
-rw-r--r--scene/main/viewport.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index c5b0f47140..cca53c63bf 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -1439,13 +1439,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;
/*