summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-14 10:03:53 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-14 10:03:53 -0300
commitd093cc8bf86c048b90ac47183d7bf45d15f36e43 (patch)
tree0fd131bee2fcc97ed444d422f17f7342baf710b1 /scene/3d
parentda4170540cbe3dcec4855ddbb59edf1abd7cf9b4 (diff)
Renamed call_group to call_group_flags, made call_group without flags the default
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/proximity_group.cpp2
-rw-r--r--scene/3d/spatial.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/proximity_group.cpp b/scene/3d/proximity_group.cpp
index 5ef0d3f176..9f4b5c7a03 100644
--- a/scene/3d/proximity_group.cpp
+++ b/scene/3d/proximity_group.cpp
@@ -135,7 +135,7 @@ void ProximityGroup::broadcast(String p_name, Variant p_params) {
E = groups.front();
while (E) {
- get_tree()->call_group(SceneTree::GROUP_CALL_DEFAULT, E->key(), "_proximity_group_broadcast", p_name, p_params);
+ get_tree()->call_group_flags(SceneTree::GROUP_CALL_DEFAULT, E->key(), "_proximity_group_broadcast", p_name, p_params);
E = E->next();
};
diff --git a/scene/3d/spatial.cpp b/scene/3d/spatial.cpp
index 7c452f90af..788ef7f935 100644
--- a/scene/3d/spatial.cpp
+++ b/scene/3d/spatial.cpp
@@ -180,7 +180,7 @@ void Spatial::_notification(int p_what) {
if (get_tree()->is_editor_hint()) {
// get_scene()->call_group(SceneMainLoop::GROUP_CALL_REALTIME,SceneStringNames::get_singleton()->_spatial_editor_group,SceneStringNames::get_singleton()->_request_gizmo,this);
- get_tree()->call_group(0,SceneStringNames::get_singleton()->_spatial_editor_group,SceneStringNames::get_singleton()->_request_gizmo,this);
+ get_tree()->call_group_flags(0,SceneStringNames::get_singleton()->_spatial_editor_group,SceneStringNames::get_singleton()->_request_gizmo,this);
if (!data.gizmo_disabled) {
if (data.gizmo.is_valid())