aboutsummaryrefslogtreecommitdiff
path: root/scene/main/scene_main_loop.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-01-16 22:41:10 -0300
committerJuan Linietsky2016-01-16 22:41:10 -0300
commit72fcb8a35beab251d01864bc67da3e3a8e75aed6 (patch)
tree9ad5837e4237d1071a9e1a5b40efdaffa3f89f33 /scene/main/scene_main_loop.cpp
parent40818299231fe1854635ffe36d8b9565f430b35f (diff)
downloadgodot-72fcb8a35beab251d01864bc67da3e3a8e75aed6.tar.gz
godot-72fcb8a35beab251d01864bc67da3e3a8e75aed6.tar.zst
godot-72fcb8a35beab251d01864bc67da3e3a8e75aed6.zip
-Moved all the "root" input handling for GUI from individual Controls to Viewport.
-Should fix several reported bugs when controls don't have a common parent This may have added new bugs, so please report if so!
Diffstat (limited to 'scene/main/scene_main_loop.cpp')
-rw-r--r--scene/main/scene_main_loop.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/main/scene_main_loop.cpp b/scene/main/scene_main_loop.cpp
index a18eb1249..8e2d6aa66 100644
--- a/scene/main/scene_main_loop.cpp
+++ b/scene/main/scene_main_loop.cpp
@@ -330,7 +330,8 @@ void SceneTree::input_text( const String& p_text ) {
root_lock++;
- call_group(GROUP_CALL_REALTIME|GROUP_CALL_MULIILEVEL,"input",p_text);
+ call_group(GROUP_CALL_REALTIME,"_viewports","_vp_input_text",p_text); //special one for GUI, as controls use their own process check
+
root_lock--;
}