aboutsummaryrefslogtreecommitdiff
path: root/scene/main/viewport.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-14 10:03:53 -0300
committerJuan Linietsky2017-01-14 10:03:53 -0300
commitd093cc8bf86c048b90ac47183d7bf45d15f36e43 (patch)
tree0fd131bee2fcc97ed444d422f17f7342baf710b1 /scene/main/viewport.cpp
parentda4170540cbe3dcec4855ddbb59edf1abd7cf9b4 (diff)
downloadgodot-d093cc8bf86c048b90ac47183d7bf45d15f36e43.tar.gz
godot-d093cc8bf86c048b90ac47183d7bf45d15f36e43.tar.zst
godot-d093cc8bf86c048b90ac47183d7bf45d15f36e43.zip
Renamed call_group to call_group_flags, made call_group without flags the default
Diffstat (limited to '')
-rw-r--r--scene/main/viewport.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index a7d259ef0..319f1c946 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -1903,7 +1903,7 @@ void Viewport::_gui_input_event(InputEvent p_event) {
_gui_call_input(gui.mouse_focus,p_event);
}
- get_tree()->call_group(SceneTree::GROUP_CALL_REALTIME,"windows","_cancel_input_ID",p_event.ID);
+ get_tree()->call_group_flags(SceneTree::GROUP_CALL_REALTIME,"windows","_cancel_input_ID",p_event.ID);
get_tree()->set_input_as_handled();
@@ -1980,7 +1980,7 @@ void Viewport::_gui_input_event(InputEvent p_event) {
}*/
- get_tree()->call_group(SceneTree::GROUP_CALL_REALTIME,"windows","_cancel_input_ID",p_event.ID);
+ get_tree()->call_group_flags(SceneTree::GROUP_CALL_REALTIME,"windows","_cancel_input_ID",p_event.ID);
get_tree()->set_input_as_handled();
}
@@ -2419,7 +2419,7 @@ void Viewport::_gui_control_grab_focus(Control* p_control) {
if (gui.key_focus && gui.key_focus==p_control)
return;
- get_tree()->call_group(SceneTree::GROUP_CALL_REALTIME,"_viewports","_gui_remove_focus");
+ get_tree()->call_group_flags(SceneTree::GROUP_CALL_REALTIME,"_viewports","_gui_remove_focus");
gui.key_focus=p_control;
p_control->notification(Control::NOTIFICATION_FOCUS_ENTER);
p_control->update();