summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-31 17:25:11 +0200
committerGitHub <noreply@github.com>2019-08-31 17:25:11 +0200
commitb17b51d9701459d43da7c6766642762649802ff0 (patch)
tree97139536b4854f6301b021debde0744f67383779
parentc28b9af210d843607e015386a6e5d8fcc0ceb734 (diff)
parent21b6be28ea6648e28c0cbcb5574177d7ef135996 (diff)
Merge pull request #31825 from fstiewitz/viewport-container-input
Fix object picking inside ViewportContainers
-rw-r--r--scene/gui/viewport_container.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/viewport_container.cpp b/scene/gui/viewport_container.cpp
index 3f7a110c1b..35696a0459 100644
--- a/scene/gui/viewport_container.cpp
+++ b/scene/gui/viewport_container.cpp
@@ -211,4 +211,5 @@ ViewportContainer::ViewportContainer() {
stretch = false;
shrink = 1;
set_process_input(true);
+ set_process_unhandled_input(true);
}