summaryrefslogtreecommitdiffstats
path: root/scene/main/scene_tree.cpp
diff options
context:
space:
mode:
authorBernat Arlandis <berarma@hotmail.com>2024-04-13 00:56:01 +0200
committerBernat Arlandis <berarma@hotmail.com>2024-04-13 00:56:01 +0200
commit0a688763481971515183e46bc9ebc9e527ff0092 (patch)
tree00907d801066234757cc849e8233bcc019d80fdf /scene/main/scene_tree.cpp
parent029aadef563fb69cf49aa9795b62f27171f8c3f4 (diff)
downloadredot-engine-0a688763481971515183e46bc9ebc9e527ff0092.tar.gz
Remove some unused SceneTree properties
Diffstat (limited to 'scene/main/scene_tree.cpp')
-rw-r--r--scene/main/scene_tree.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index 0c77a60af6..04dd38fb5d 100644
--- a/scene/main/scene_tree.cpp
+++ b/scene/main/scene_tree.cpp
@@ -120,7 +120,6 @@ void SceneTreeTimer::release_connections() {
SceneTreeTimer::SceneTreeTimer() {}
void SceneTree::tree_changed() {
- tree_version++;
emit_signal(tree_changed_name);
}
@@ -153,7 +152,6 @@ SceneTree::Group *SceneTree::add_to_group(const StringName &p_group, Node *p_nod
ERR_FAIL_COND_V_MSG(E->value.nodes.has(p_node), &E->value, "Already in group: " + p_group + ".");
E->value.nodes.push_back(p_node);
- //E->value.last_tree_version=0;
E->value.changed = true;
return &E->value;
}
@@ -476,8 +474,6 @@ void SceneTree::iteration_prepare() {
}
bool SceneTree::physics_process(double p_time) {
- root_lock++;
-
current_frame++;
flush_transform_notifications();
@@ -501,7 +497,6 @@ bool SceneTree::physics_process(double p_time) {
process_tweens(p_time, true);
flush_transform_notifications();
- root_lock--;
_flush_delete_queue();
_call_idle_callbacks();
@@ -510,8 +505,6 @@ bool SceneTree::physics_process(double p_time) {
}
bool SceneTree::process(double p_time) {
- root_lock++;
-
if (MainLoop::process(p_time)) {
_quit = true;
}
@@ -537,8 +530,6 @@ bool SceneTree::process(double p_time) {
MessageQueue::get_singleton()->flush(); //small little hack
flush_transform_notifications(); //transforms after world update, to avoid unnecessary enter/exit notifications
- root_lock--;
-
_flush_delete_queue();
if (unlikely(pending_new_scene)) {