summaryrefslogtreecommitdiff
path: root/scene/main/scene_tree.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-07-01 10:59:42 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-07-01 12:46:39 -0300
commit058166fb6c07a29f1c18b96d24d66b3e16233310 (patch)
treed640f834e59a6c1f2d38221d0a228d88996e18bb /scene/main/scene_tree.cpp
parent8a484756de0d66aa91da7975672234d58ca31d7d (diff)
Fix doubleclick on tree item, restore input focus on previous windows.
Closes #37335
Diffstat (limited to 'scene/main/scene_tree.cpp')
-rw-r--r--scene/main/scene_tree.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index a418883506..d6159e089b 100644
--- a/scene/main/scene_tree.cpp
+++ b/scene/main/scene_tree.cpp
@@ -939,10 +939,6 @@ int64_t SceneTree::get_frame() const {
return current_frame;
}
-int64_t SceneTree::get_event_count() const {
- return current_event;
-}
-
Array SceneTree::_get_nodes_in_group(const StringName &p_group) {
Array ret;
Map<StringName, Group>::Element *E = group_map.find(p_group);
@@ -1362,7 +1358,6 @@ SceneTree::SceneTree() {
root = nullptr;
pause = false;
current_frame = 0;
- current_event = 0;
tree_changed_name = "tree_changed";
node_added_name = "node_added";
node_removed_name = "node_removed";